cvs commit: src/sys/vm vm_map.c
Alan Cox
alc at FreeBSD.org
Mon May 24 22:52:34 PDT 2004
alc 2004/05/24 22:51:18 PDT
FreeBSD src repository
Modified files:
sys/vm vm_map.c
Log:
Correct two error cases in vm_map_unwire():
1. Contrary to the Single Unix Specification our implementation of
munlock(2) when performed on an unwired virtual address range has
returned an error. Correct this. Note, however, that the behavior
of "system" unwiring is unchanged, only "user" unwiring is changed.
If "system" unwiring is performed on an unwired virtual address
range, an error is still returned.
2. Performing an errant "system" unwiring on a virtual address range
that was "user" (i.e., mlock(2)) but not "system" wired would
incorrectly undo the "user" wiring instead of returning an error.
Correct this.
Discussed with: green@
Reviewed by: tegge@
Revision Changes Path
1.336 +5 -4 src/sys/vm/vm_map.c
More information about the cvs-src
mailing list