|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings
To: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Subject: |
[Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings |
From: |
Andi Kleen <andi@xxxxxxxxxxxxxx> |
Date: |
Mon, 22 Oct 2007 15:47:27 +0200 |
Cc: |
Nick Piggin <nickpiggin@xxxxxxxxxxxx>, dean gaudet <dean@xxxxxxxxxx>, David Chinner <dgc@xxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Bøgeskov <xen-users@xxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, xfs-masters@xxxxxxxxxxx, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Morten@xxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx> |
Delivery-date: |
Tue, 23 Oct 2007 10:59:34 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<471C1A61.1010001@xxxxxxxx> (Jeremy Fitzhardinge's message of "Sun\, 21 Oct 2007 20\:34\:57 -0700") |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<470FA7C3.90404@xxxxxxxx> <20071014225618.GN23367404@xxxxxxx> <4712A254.4090604@xxxxxxxx> <200710151415.07248.nickpiggin@xxxxxxxxxxxx> <alpine.DEB.0.9999.0710212015430.2320@xxxxxxxxxxxxxxxxxxx> <471C1A61.1010001@xxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:
>
> Yes, that's precisely the problem. xfs does delay the unmap, leaving
> stray mappings, which upsets Xen.
Again it not just upsets Xen, keeping mappings to freed pages is wrong
generally
and violates the x86 (and likely others like PPC) architecture because it can
cause illegal caching attribute aliases.
The patch that went into the tree was really not correct -- this
bogus optimization should have been unconditionally removed
or if you really wanted an ifdef made dependent on !CONFIG_XEN &&
!CONFIG_AGP (and likely && !CONFIG_DRM && !CONFIG_anything else that
uses uncached mappings in memory).
You just worked around the obvious failure and leave the non obvious
rare corruptions in, which isn't a good strategy.
-Andi
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, (continued)
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, dean gaudet
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, dean gaudet
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, Nick Piggin
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings,
Andi Kleen <=
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, Andi Kleen
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, David Chinner
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, Andi Kleen
- [Xen-devel] Re: Interaction between Xen and XFS: stray RW mappings, David Chinner
- [Xen-devel] [patch] Re: Interaction between Xen and XFS: stray RW mappings, David Chinner
- [Xen-devel] Re: [patch] Re: Interaction between Xen and XFS: stray RW mappings, Andi Kleen
- [Xen-devel] Re: [patch] Re: Interaction between Xen and XFS: stray RW mappings, David Chinner
- [Xen-devel] Re: [patch] Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge
|
|
|
|
|