From: Keir Fraser Subject: Re: BUG grant_table.c line 939 Date: Wed, 25 Jan 2006 09:50:57 +0000 Message-ID: <7cde9885e886414aec163cb64fd1c4b4@cl.cam.ac.uk> References: <44BDAFB888F59F408FAE3CC35AB4704102D87EE7@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: <44BDAFB888F59F408FAE3CC35AB4704102D87EE7@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 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? > -steve 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