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 - 2:36 am

David Chinner <dgc@sgi.com> writes:

You're keeping vmaps around for already freed pages?

That will be a big problem for proper PAT support, which needs
to track all mappings to memory. It's not just a problem for Xen.

In fact I suspect it is already broken with DRM or AGP for example which
can use UC and WC mappings -- if you keep the mapping around and
DRM or AGP turns the page in another mapping uncacheable you're
creating an illegal cache attribute alias. These are known to occasionally
create cache corruptions on several x86s; giving ___VERY___ hard to debug
bugs once a blue moon.

Probably it'll require some generic VM batching mechanism where
Xen or PAT code can hook into the list or force unmap the mappings
as needed.

Definitely needs to be fixed if true. You're lucky that Xen caught it
in time.

-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, 2:36 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)