Re: Interaction between Xen and XFS: stray RW mappings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Monday, October 15, 2007 - 4:07 am

On Tue, Oct 16, 2007 at 12:56:46AM +1000, Nick Piggin wrote:

I think it happened for reads too.  It is a little counter intuitive
because in theory the CPU doesn't need to write back non dirty lines,
but in the one case which took so long to debug exactly this happened
somehow.

At it is undefined for reads and writes in the architecture so 
better be safe than sorry.

And x86 CPUs are out of order and do speculative executation
and that can lead to arbitary memory accesses even if the code
never touches an particular address.

Newer Intel CPUs have something called self-snoop which was supposed
to handle this; but in some situations it doesn't seem to catch it
either.


AGP doesn't allocate highmem pages.  Not sure about the DRM code.

-Andi
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Fri Oct 12, 9:58 am)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Fri Oct 12, 10:08 am)
Re: Interaction between Xen and XFS: stray RW mappings, David Chinner, (Sun Oct 14, 3:56 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Sun Oct 14, 4:12 pm)
Re: Interaction between Xen and XFS: stray RW mappings, David Chinner, (Sun Oct 14, 4:33 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Sun Oct 14, 5:57 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Sun Oct 14, 8:42 pm)
Re: Interaction between Xen and XFS: stray RW mappings, David Chinner, (Sun Oct 14, 9:11 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Nick Piggin, (Sun Oct 14, 9:15 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Sun Oct 14, 9:18 pm)
Re: Interaction between Xen and XFS: stray RW mappings, David Chinner, (Sun Oct 14, 9:25 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Nick Piggin, (Mon Oct 15, 12:26 am)
Re: [xfs-masters] Re: Interaction between Xen and XFS: str ..., Christoph Hellwig, (Mon Oct 15, 1:31 am)
Re: Interaction between Xen and XFS: stray RW mappings, Andi Kleen, (Mon Oct 15, 4:07 am)
Re: Interaction between Xen and XFS: stray RW mappings, Nick Piggin, (Mon Oct 15, 4:28 am)
Re: Interaction between Xen and XFS: stray RW mappings, Nick Piggin, (Mon Oct 15, 7:56 am)
Re: Interaction between Xen and XFS: stray RW mappings, Dave Airlie, (Sun Oct 21, 5:17 am)
Re: Interaction between Xen and XFS: stray RW mappings, Benjamin Herrenschmidt, (Sun Oct 21, 3:16 pm)
Re: Interaction between Xen and XFS: stray RW mappings, dean gaudet, (Sun Oct 21, 8:18 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Sun Oct 21, 8:34 pm)
Re: Interaction between Xen and XFS: stray RW mappings, dean gaudet, (Sun Oct 21, 9:28 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Nick Piggin, (Sun Oct 21, 9:39 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Mon Oct 22, 11:32 am)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Mon Oct 22, 11:37 am)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Mon Oct 22, 11:40 am)
Re: Interaction between Xen and XFS: stray RW mappings, Andi Kleen, (Mon Oct 22, 12:07 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Jeremy Fitzhardinge, (Mon Oct 22, 12:11 pm)
Re: Interaction between Xen and XFS: stray RW mappings, David Chinner, (Mon Oct 22, 3:32 pm)
Re: Interaction between Xen and XFS: stray RW mappings, Zachary Amsden, (Mon Oct 22, 5:16 pm)
Re: Interaction between Xen and XFS: stray RW mappings, David Chinner, (Mon Oct 22, 5:36 pm)
Re: [patch] Re: Interaction between Xen and XFS: stray RW ..., Jeremy Fitzhardinge, (Tue Oct 23, 7:33 am)
Re: [PATCH] Allow lazy unmapping by taking extra page refe ..., Jeremy Fitzhardinge, (Tue Oct 23, 10:08 pm)
Re: [PATCH] Allow lazy unmapping by taking extra page refe ..., Jeremy Fitzhardinge, (Wed Oct 24, 3:46 pm)