From: Keir Fraser Subject: Re: Unplugging a dom0 vcpu and domain destruction Date: Fri, 20 Feb 2009 21:17:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap , Jeremy Fitzhardinge Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 20/02/2009 18:59, "George Dunlap" wrote: >> In the pvops kernels we also keep a reference to the vcpu info structure, >> since we place it the kernel's memory rather than keeping it in the shared >> info structure. For a while that had bugs that left zombie domains lying >> around, but I don't think anyone backported that stuff to 2.6.18. > > Hmm, I'll take a look tomorrow and see if I can work out what those > two pages that were being kept are. Jeremy's hunch might be worth following up -- that the offline vcpu holds onto an mm, which doesn't get dropped until the vcpu comes back (at which point unmap_vmas() would happen). It seems likely it'll be something silly like that. -- Keir