Date: Fri, 28 Apr 2006 14:22:34 -0700 From: Peter Wemm <peter@wemm.org> To: src-committers@freebsd.org Cc: cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 pmap.c Message-ID: <200604281422.35831.peter@wemm.org> In-Reply-To: <200604281905.k3SJ59MZ008806@repoman.freebsd.org> References: <200604281905.k3SJ59MZ008806@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 28 April 2006 12:05 pm, Peter Wemm wrote: > ups@ had a truely evil idea that I'll investigate. It should allow > freeing unused pages again by giving us a no-cost way to track the > holes in the kva block. FWIW, this idea appears to work. For the curious: http://people.freebsd.org/~peter/freepv.diff This restores the enhancement of the original smallpv patch that allows pv pages to be freed and returned for general use. It tracks the free kva in its block in a way that requires no memory alloc/frees, has no bitmaps, and doesn't search anything. ups@ scares me for thinking of this. :-) -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604281422.35831.peter>