freebsd-skq/sys/vm
green 41ba6d4a43 Properly remove MAP_FUTUREWIRE when a vm_map_entry gets torn down.
Previously, mlockall(2) usage would leak MAP_FUTUREWIRE of the process's
vmspace::vm_map and subsequent processes would wire all of their memory.
Coupled with a wired-page leak in vm_fault_unwire(), this would run the
system out of free pages and cause programs to randomly SIGBUS when
faulting in new pages.

(Note that this is not the fix for the latter part; pages are still
 leaked when a wired area is unmapped in some cases.)

Reviewed by:	alc
PR		kern/62930
2004-05-07 00:17:07 +00:00
..
default_pager.c Access the swap_pagers' ->putpages() through swappagerops instead 2003-08-06 12:05:48 +00:00
device_pager.c Push down Giant into vm_pager_get_pages(). The only get pages methods that 2004-04-23 06:10:58 +00:00
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 - pmap_kenter_temporary() is unused by machine-independent code. Therefore, 2004-04-10 22:41:46 +00:00
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 Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
uma_core.c - Make the acquisition of Giant in vm_fault_unwire() conditional on the 2004-03-10 04:44:43 +00:00
uma_dbg.c Provide a bit more help with "memory overwritten after free" style bugs. 2003-09-27 21:33:13 +00:00
uma_dbg.h - Use my freebsd email alias in the copyright. 2002-09-19 06:05:32 +00:00
uma_int.h Increase UMA_BOOT_PAGES because of changes to pv entry initialization in 2004-01-18 05:51:06 +00:00
uma.h - Fix the silly flag situation in UMA. Remove redundant ZFLAG/ZONE flags 2003-09-19 08:37:44 +00:00
vm_contig.c Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_extern.h Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_fault.c Make vm_page's PG_ZERO flag immutable between the time of the page's 2004-05-06 05:03:23 +00:00
vm_glue.c Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_init.c The demise of vm_pager_map_page() in revision 1.93 of vm/vm_pager.c permits 2004-04-08 19:08:49 +00:00
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 Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_map.c Properly remove MAP_FUTUREWIRE when a vm_map_entry gets torn down. 2004-05-07 00:17:07 +00:00
vm_map.h In cases where a file was resident in memory mmap(..., PROT_NONE, ...) 2004-04-24 03:46:44 +00:00
vm_meter.c Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_mmap.c Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_object.c Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_object.h Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_page.c Update the comment describing vm_page_grab() to reflect the previous 2004-04-24 21:36:23 +00:00
vm_page.h Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_pageout.c Minor style fixes. In vm_daemon(), don't fetch the rss limit long before 2004-03-04 09:36:46 +00:00
vm_pageout.h Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_pageq.c Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon's 2003-08-12 23:24:05 +00:00
vm_pager.c The demise of vm_pager_map_page() in revision 1.93 of vm/vm_pager.c permits 2004-04-08 19:08:49 +00:00
vm_pager.h The demise of vm_pager_map_page() in revision 1.93 of vm/vm_pager.c permits 2004-04-08 19:08:49 +00:00
vm_param.h Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_unix.c Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
vm_zeroidle.c Record exactly where this file was copied from. It wasn't repo-copied so 2004-03-04 10:18:17 +00:00
vm.h Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00
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 Remove advertising clause from University of California Regent's license, 2004-04-06 20:15:37 +00:00