From: Kouya Shimura Subject: Re: [PATCH] x86/mm: disallow mmu hypercalls for a dying domain Date: Fri, 27 Nov 2009 18:10:10 +0900 Message-ID: <7kljhsxrik.fsf@pingu.sky.yk.fujitsu.co.jp> 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: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org I observed that dom0 kept on issuing a mmu_update hypercall while the domain is dying. So I don't feel happy with it. But I'm ok if the patch is dropped. Thanks, Kouya Keir Fraser writes: > 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 > > >