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

Re: [Xen-devel] Unplugging a dom0 vcpu and domain destruction

To: George Dunlap <dunlapg@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Unplugging a dom0 vcpu and domain destruction
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 17 Feb 2009 17:39:59 +0000
Cc:
Delivery-date: Tue, 17 Feb 2009 09:40:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <de76405a0902170930p7afad4b9ye68358df0f6ff3fe@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmRJWv/vSz3KKmWQYK6F8RK6jTe5gAAVUGO
Thread-topic: [Xen-devel] Unplugging a dom0 vcpu and domain destruction
User-agent: Microsoft-Entourage/12.15.0.081119
On 17/02/2009 17:30, "George Dunlap" <dunlapg@xxxxxxxxx> wrote:

> domain_destroy() is only called from put_domain(), so presumably
> there's somehow reference counts held somewhere which aren't released
> when the second cpu is offline.
> 
> I've duplicated this using the standard credit scheduler on
> xen-unstable tip.  I'm using a Debian dom0 filesystem, and a
> linux-2.6.18-xen0 build from a month ago.

If the domain never runs there will be very few domain refcnt updates. You
should be able to track it down pretty easily by logging every caller.

 -- Keir



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