| To: | Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
|---|---|
| Subject: | [xfs-masters] Re: [PATCH 12/12] xfs: eagerly remove vmap mappings to avoid upsetting Xen |
| From: | David Chinner <dgc@xxxxxxx> |
| Date: | Tue, 16 Oct 2007 09:04:33 +1000 |
| Cc: | Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Andi Kleen <ak@xxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, virtualization@xxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, Chris Wright <chrisw@xxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>, Stable Kernel <stable@xxxxxxxxxx>, David Chinner <dgc@xxxxxxx>, Nick Piggin <nickpiggin@xxxxxxxxxxxx>, XFS masters <xfs-masters@xxxxxxxxxxx>, Morten Bøgeskov <xen-users@xxxxxxxxxxxxxxxxxx>, Mark Williamson <mark.williamson@xxxxxxxxxxxx> |
| In-reply-to: | <20071015210115.506967748@xxxxxxxx> |
| References: | <20071015204840.074767068@xxxxxxxx> <20071015210115.506967748@xxxxxxxx> |
| Reply-to: | xfs-masters@xxxxxxxxxxx |
| Sender: | xfs-masters-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.2.1i |
On Mon, Oct 15, 2007 at 01:48:52PM -0700, Jeremy Fitzhardinge wrote: > XFS leaves stray mappings around when it vmaps memory to make it > virtually contigious. This upsets Xen if one of those pages is being > recycled into a pagetable, since it finds an extra writable mapping of > the page. > > This patch solves the problem in a brute force way, by making XFS > always eagerly unmap its mappings. David Chinner says this shouldn't > have any performance impact on filesystems with default block sizes; > it will only affect filesystems with large block sizes. Looks fine, Jeremy. I'll pull this into our dev tree and it should get pushed with the .24 XFS merge (if someone doesn't pull these patches directly). Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [xfs-masters] [PATCH 12/12] xfs: eagerly remove vmap mappings to avoid upsetting Xen, Jeremy Fitzhardinge |
|---|---|
| Next by Date: | (no subject), Niv Sardi-Altivanik |
| Previous by Thread: | [xfs-masters] [PATCH 12/12] xfs: eagerly remove vmap mappings to avoid upsetting Xen, Jeremy Fitzhardinge |
| Next by Thread: | (no subject), Niv Sardi-Altivanik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |