Re: [PATCH] Allow lazy unmapping by taking extra page references V2

Jeremy Fitzhardinge
2007-10-24T05:08:57Z

David Chinner wrote:
> Allow lazy unmapping of vmap()d regions be taking a reference
> on each page in the region being vmap()ed. The page references
> get released after the region is vunmap()ed, thereby ensuring
> we don't leave stray mappings on freed pages that could lead to
> problems pages being reallocated with incorrect mappings
> associated with them.
>
> Tested with XFS filesystems with 64k directory blocks with
> dirstress and XFSQA.
>
> Version 2:
> - drop the release function stuff and just call put_page()
> as it falls down to the same code in all calling cases.
>

This doesn't apply cleanly to the current git tree.

J