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

From: Jeremy Fitzhardinge
Date: Wed Oct 24 2007 - 01:08:59 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/