From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Xen 4.1 rc1 test report Date: Wed, 26 Jan 2011 07:24:33 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable 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: "Wei, Gang" , "Zheng, Shaohui" , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 26/01/2011 06:31, "Wei, Gang" wrote: > Wei, Gang wrote on=A02011-01-26: >> Just found sometime while doing domain_destroy the current->domain is >> IDLE domain, so the if ( !IS_PRIV_FOR(current->domain, d) ) hit and >> skip the pirq forcible unbinding. How could it happen? >=20 > Look like it is caused by call_rcu(&d->rcu, complete_domain_destroy) in t= he > end of domain_destroy fn. We may need to move the check for > IS_PRIV_FOR(current->domain, d) out and check it earlier in the call path= if > necessary. Those core map/unmap functions shouldn't be doing the priv checks themselves. I'll sort out a patch for you to try. -- Keir > Jimmy >=20 >=20