From: Keir Fraser Subject: Re: Xen Crashes when releasing gnttab mappings - of a crashed domain. Date: Tue, 21 Nov 2006 16:09:11 +0000 Message-ID: References: <86FE9B2B91ADD04095335314BE6906E84A0B4E@sdcexc04.emea.cpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <86FE9B2B91ADD04095335314BE6906E84A0B4E@sdcexc04.emea.cpqcorp.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Moffie, Micha" , Keir Fraser , xen-devel List-Id: xen-devel@lists.xenproject.org On 21/11/06 15:52, "Moffie, Micha" wrote: > By why do you crash the local domain if the reference can not be > ungranted? > Is there no way to clean up? And if ld == 0? This situation signals that the mapping domain cleared the granted mapping by simply zapping the PTE, rather than going thru the explicit grant-unmap operation. The effect of this is undefined (although of course it should not crash Xen!) and for sanity's sake I prefer to crash the offender whenever I can detect that this has happened. -- Keir