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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to