All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Kouya Shimura <kouya@jp.fujitsu.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] x86/mm: disallow mmu hypercalls for a dying domain
Date: Fri, 27 Nov 2009 08:08:39 +0000	[thread overview]
Message-ID: <C7353987.2E3B%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <7kocmoxz9p.fsf@pingu.sky.yk.fujitsu.co.jp>

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" <kouya@jp.fujitsu.com> wrote:

> The race condition should be avoided for efficiency.
> 
> Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
> 

  reply	other threads:[~2009-11-27  8:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-27  6:22 [PATCH] x86/mm: disallow mmu hypercalls for a dying domain Kouya Shimura
2009-11-27  8:08 ` Keir Fraser [this message]
2009-11-27  9:10   ` Kouya Shimura
2009-11-27  9:43     ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C7353987.2E3B%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=kouya@jp.fujitsu.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.