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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH] Allow lazy unmapping by taking extra page references V3
- From: David Chinner <[email protected]>
- [PATCH] Allow lazy unmapping by taking extra page references V3
- References:
- Re: Interaction between Xen and XFS: stray RW mappings
- From: dean gaudet <[email protected]>
- Re: Interaction between Xen and XFS: stray RW mappings
- From: Jeremy Fitzhardinge <[email protected]>
- Re: Interaction between Xen and XFS: stray RW mappings
- From: Andi Kleen <[email protected]>
- Re: Interaction between Xen and XFS: stray RW mappings
- From: Jeremy Fitzhardinge <[email protected]>
- Re: Interaction between Xen and XFS: stray RW mappings
- From: Andi Kleen <[email protected]>
- Re: Interaction between Xen and XFS: stray RW mappings
- From: David Chinner <[email protected]>
- Re: Interaction between Xen and XFS: stray RW mappings
- From: Andi Kleen <[email protected]>
- Re: Interaction between Xen and XFS: stray RW mappings
- From: David Chinner <[email protected]>
- [patch] Re: Interaction between Xen and XFS: stray RW mappings
- From: David Chinner <[email protected]>
- Re: [patch] Re: Interaction between Xen and XFS: stray RW mappings
- From: Andi Kleen <[email protected]>
- [PATCH] Allow lazy unmapping by taking extra page references V2
- From: David Chinner <[email protected]>
- Re: Interaction between Xen and XFS: stray RW mappings
- Prev by Date: Re: [PATCH 3/4]: [PCI]: Add quirk for devices which disable MSI when INTX_DISABLE is set.
- Next by Date: [PATCH] bitops kernel-doc: expand macro
- Previous by thread: [PATCH] Allow lazy unmapping by taking extra page references V2
- Next by thread: [PATCH] Allow lazy unmapping by taking extra page references V3
- Index(es):