All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Takuya Yoshikawa <takuya.yoshikawa@gmail.com>
Cc: avi@redhat.com, kvm@vger.kernel.org, yoshikawa.takuya@oss.ntt.co.jp
Subject: Re: [PATCH 1/1 v2] KVM: MMU: Use ptep_user for cmpxchg_gpte()
Date: Wed, 4 May 2011 13:13:00 -0300	[thread overview]
Message-ID: <20110504161300.GA5274@amt.cnet> (raw)
In-Reply-To: <20110501143307.1bcfd375.takuya.yoshikawa@gmail.com>

On Sun, May 01, 2011 at 02:33:07PM +0900, Takuya Yoshikawa wrote:
> From: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
> 
> The address of the gpte was already calculated and stored in ptep_user
> before entering cmpxchg_gpte().
> 
> This patch makes cmpxchg_gpte() to use that to make it clear that we
> are using the same address during walk_addr_generic().
> 
> Note that the unlikely annotations are used to show that the conditions
> are something unusual rather than for performance.
> 
> Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
> ---
>  arch/x86/kvm/paging_tmpl.h |   26 ++++++++++++--------------
>  1 files changed, 12 insertions(+), 14 deletions(-)

Applied, thanks.


      parent reply	other threads:[~2011-05-04 16:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-01  5:30 [PATCH 0/1 v2] KVM: MMU: Use ptep_user for cmpxchg_gpte() Takuya Yoshikawa
2011-05-01  5:33 ` [PATCH 1/1 " Takuya Yoshikawa
2011-05-04 11:16   ` Marcelo Tosatti
2011-05-04 11:44     ` Avi Kivity
2011-05-04 11:58       ` Marcelo Tosatti
2011-05-04 12:11         ` Avi Kivity
2011-05-04 14:00           ` Takuya Yoshikawa
2011-05-04 14:27             ` Avi Kivity
2011-05-04 16:13   ` Marcelo Tosatti [this message]

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=20110504161300.GA5274@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=takuya.yoshikawa@gmail.com \
    --cc=yoshikawa.takuya@oss.ntt.co.jp \
    /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.