WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] implicit grant unmap

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] implicit grant unmap
From: "King, Steven R" <steven.r.king@xxxxxxxxx>
Date: Tue, 14 Feb 2006 13:07:59 -0800
Delivery-date: Tue, 14 Feb 2006 21:20:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYxqrvoi3owSMCVQ6iQco2bGX0aEw==
Thread-topic: implicit grant unmap
Hello All,
I'm contemplating ways to avoid the domain_crash() in mm.c line ~615
without requiring new OS hooks.  This crash occurs when the operating
system writes a zero to the PTE for a grant mapping without an explicit
Xen call to unmap.

In hacking around, it seems the problem is this:  When the mapping PTE
gets squashed, Xen's cleanup_writable_pagetable() has no way to find the
correct maptrack entry for the affected mapping.  Consequently, the
grant mapping is not properly cleaned-up.

Sound correct?  Are there worse problems here?

Thanks,
-steve

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>