diff options
author | 2011-07-05 09:15:57 +0000 | |
---|---|---|
committer | 2011-07-05 09:15:57 +0000 | |
commit | 3db69410cce91f67a19556d72138026d0a2a0f25 (patch) | |
tree | 732dfa125359e5589be9b2dec9e4b5cabbec9085 /sys/kern/kern_physio.c | |
parent | remove comment: yes, they should be independent (diff) | |
download | wireguard-openbsd-3db69410cce91f67a19556d72138026d0a2a0f25.tar.xz wireguard-openbsd-3db69410cce91f67a19556d72138026d0a2a0f25.zip |
msync has some code that is based on *old* bsd behaviour where
msync(size == 0) did strange things based on the original mapping
segments and trying to manipulate same. This code was copied from the
original vm when we moved to uvm.
posix says nothing about this behaviour and anything that depends on it is
systemically broken, so rip it out and make sys_msync about 30% smaller.
ok deraadt@, tedu@, guenther@.
Diffstat (limited to 'sys/kern/kern_physio.c')
0 files changed, 0 insertions, 0 deletions