CVSROOT: /cvs Module name: src Changes by: ste...@cvs.openbsd.org 2016/04/04 10:34:16
Modified files: sys/uvm : uvm_amap.c uvm_amap.h uvm_extern.h uvm_map.c uvm_unix.c Log message: UVM_FLAG_AMAPPAD has no effect anymore, nuke it. This flag caused amaps to be allocated with additional spare slots, to make extending them cheaper. However, the kernel never extends amaps, so allocating spare slots is pointless. Also UVM_FLAG_AMAPPAD only has an effect in combination with UVM_FLAG_OVERLAY. The only function that used both flags was sys_obreak, but that function had the use of UVM_FLAG_OVERLAY removed recently. While there, kill the unused prototypes amap_flags and amap_refs. They're defined as macros already. ok mlarkin@ kettenis@ mpi@