Cc: Jeremy Fitzhardinge <jeremy@...>, dean gaudet <dean@...>, Nick Piggin <nickpiggin@...>, Xen-devel <xen-devel@...>, <Morten@...>, David Chinner <dgc@...>, Linux Kernel Mailing List <linux-kernel@...>, Bøgeskov <xen-users@...>, <xfs@...>, <xfs-masters@...>, Mark Williamson <mark.williamson@...>
On Mon, Oct 22, 2007 at 09:07:40PM +0200, Andi Kleen wrote:
There's no evidence of any problems ever being caused by this code.
It's been there for years.
It is critical functionality for larger machines because vmap()/vunmap()
really does suck in terms of scalability.
Could vmap()/vunmap() take references to the pages that are
mapped? That way delaying the unmap would also delay the freeing
of the pages and hence we'd have no problems with the pages
being reused before the mapping is torn down. That'd work for
Xen even with XFS's lazy unmapping scheme, and would allow
Nick's more advanced methods to work as well....
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
-