freebsd-nq/sys/vm
Alan Cox 3ffbc0cd8e 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@
2004-05-25 05:51:17 +00:00
..
default_pager.c
device_pager.c
phys_pager.c Zero the physical page only if it is invalid and not prezeroed. 2004-04-25 07:58:59 +00:00
pmap.h
swap_pager.c Make vm_page's PG_ZERO flag immutable between the time of the page's 2004-05-06 05:03:23 +00:00
swap_pager.h
uma_core.c
uma_dbg.c
uma_dbg.h
uma_int.h
uma.h
vm_contig.c
vm_extern.h To date, unwiring a fictitious page has produced a panic. The reason 2004-05-22 04:53:51 +00:00
vm_fault.c To date, unwiring a fictitious page has produced a panic. The reason 2004-05-22 04:53:51 +00:00
vm_glue.c In r1.190, vslock() and vsunlock() were bogusly made to do a "user wire" 2004-05-07 11:43:24 +00:00
vm_init.c
vm_kern.c Push down the responsibility for zeroing a physical page from the 2004-04-24 20:53:55 +00:00
vm_kern.h
vm_map.c Correct two error cases in vm_map_unwire(): 2004-05-25 05:51:17 +00:00
vm_map.h
vm_meter.c
vm_mmap.c To handle orphaned character device vnodes properly in mmap(), check that 2004-05-11 10:26:37 +00:00
vm_object.c
vm_object.h
vm_page.c To date, unwiring a fictitious page has produced a panic. The reason 2004-05-22 04:53:51 +00:00
vm_page.h
vm_pageout.c Cache queue pages are not mapped. Thus, the pmap_remove_all() by 2004-05-12 04:10:35 +00:00
vm_pageout.h
vm_pageq.c
vm_pager.c
vm_pager.h
vm_param.h
vm_unix.c
vm_zeroidle.c
vm.h
vnode_pager.c Make vm_page's PG_ZERO flag immutable between the time of the page's 2004-05-06 05:03:23 +00:00
vnode_pager.h