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/
Home Products Support Community News


Re: [Xen-devel] BUG grant_table.c line 939

To: "King, Steven R" <steven.r.king@xxxxxxxxx>
Subject: Re: [Xen-devel] BUG grant_table.c line 939
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 26 Jan 2006 10:29:52 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 26 Jan 2006 10:32:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <44BDAFB888F59F408FAE3CC35AB4704102DBDA3A@orsmsx409>
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: <44BDAFB888F59F408FAE3CC35AB4704102DBDA3A@orsmsx409>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 25 Jan 2006, at 23:54, King, Steven R wrote:

Thanks Keir, that fixed it!!

So what was the problem?  Was a callback waiting to destroy domA?

Host mappings via grant tables are refcounted via the mapping PTEs, not directly via the maptrack table. So if we destroy pagetables first, we can drop all refcounts before we call the gnttab_release_mappings(), and the maptrack can have dangling domain id's at that point.

 -- Keir

Xen-devel mailing list

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