diff options
author | 2016-04-04 16:34:16 +0000 | |
---|---|---|
committer | 2016-04-04 16:34:16 +0000 | |
commit | dfb3c047ac868c8239c612fa060f18f5897e0e73 (patch) | |
tree | 6fe83f9926d4eac6b1ee32ec6777d46c0e8c0490 /sys/dev/softraid.c | |
parent | Add sys/queue.h where it's needed. Unbreak userland following recent (diff) | |
download | wireguard-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