cvs commit: src/sys/vm vm_map.c
Brian Feldman
green at FreeBSD.org
Thu May 6 17:17:08 PDT 2004
green 2004/05/06 17:17:08 PDT
FreeBSD src repository
Modified files:
sys/vm vm_map.c
Log:
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
Revision Changes Path
1.334 +1 -0 src/sys/vm/vm_map.c
More information about the cvs-src
mailing list