From: Keir Fraser Subject: Re: BUG grant_table.c line 939 Date: Thu, 26 Jan 2006 10:29:52 +0000 Message-ID: <0f32539b8959f8928327ddba2c88cc3c@cl.cam.ac.uk> References: <44BDAFB888F59F408FAE3CC35AB4704102DBDA3A@orsmsx409> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <44BDAFB888F59F408FAE3CC35AB4704102DBDA3A@orsmsx409> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "King, Steven R" Cc: xen-devel List-Id: xen-devel@lists.xenproject.org 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