cvs commit: src/sys/i386/i386 pmap.c

Nate Lawson nate at root.org
Sat Apr 29 05:37:44 UTC 2006


Peter Jeremy wrote:
> On Fri, 2006-Apr-28 14:22:34 -0700, Peter Wemm wrote:
>> 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
> 
> Care to explain how this works in slightly more detail than "truely evil".

The PTE (page-table entry) is an appropriate size to store a pointer. 
So you link them all together in a freelist.

-- 
Nate


More information about the cvs-src mailing list