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: Wed, 25 Jan 2006 09:50:57 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 25 Jan 2006 09:53:37 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <44BDAFB888F59F408FAE3CC35AB4704102D87EE7@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: <44BDAFB888F59F408FAE3CC35AB4704102D87EE7@orsmsx409>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 24 Jan 2006, at 17:03, King, Steven R wrote:

Hi Keir, thanks for helping.
I'm not using shadow tables. Before the Xen crash, Xen kills both of my
domUs via arch/x86/mm.c line 614.  Apparently my domUs are misbehaving
by not explicitly unmapping granted pages.  Because of the
domain_crash() call in mm.c, no form of put_page() is ever called for
the mapping.  Is this info helpful?

The domain is not immediately killed when it crashes, and should still be returned by find_domain_by_id() for example.

When this crashed domain is finally killed by the control tools, it will then have all its page tables destructed, and that should find and destroy and foreign mappings (calling put_page as appropriate). See domain_relinquish_resources().

 -- Keir

Xen-devel mailing list