Date: Thu, 6 May 2004 17:17:08 -0700 (PDT) From: Brian Feldman <green@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c Message-ID: <200405070017.i470H87C046600@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405070017.i470H87C046600>