From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] x86/mm: disallow mmu hypercalls for a dying domain Date: Fri, 27 Nov 2009 08:08:39 +0000 Message-ID: References: <7kocmoxz9p.fsf@pingu.sky.yk.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7kocmoxz9p.fsf@pingu.sky.yk.fujitsu.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kouya Shimura , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Since the check is made with no locks held, I don't think any race can be completely avoided here. I'm not sure the performance argument holds much water either -- this just looks like a pointless extra check. -- Keir On 27/11/2009 06:22, "Kouya Shimura" wrote: > The race condition should be avoided for efficiency. > > Signed-off-by: Kouya Shimura >