summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorstefan <stefan@openbsd.org>2016-04-04 16:34:16 +0000
committerstefan <stefan@openbsd.org>2016-04-04 16:34:16 +0000
commitdfb3c047ac868c8239c612fa060f18f5897e0e73 (patch)
tree6fe83f9926d4eac6b1ee32ec6777d46c0e8c0490 /sys/dev/softraid.c
parentAdd sys/queue.h where it's needed. Unbreak userland following recent (diff)
downloadwireguard-openbsd-dfb3c047ac868c8239c612fa060f18f5897e0e73.tar.xz
wireguard-openbsd-dfb3c047ac868c8239c612fa060f18f5897e0e73.zip
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@
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions