All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: [PATCH 0/2] Optimize ds/es reload
Date: Wed, 16 May 2012 16:04:03 -0300	[thread overview]
Message-ID: <20120516190403.GA25004@amt.cnet> (raw)
In-Reply-To: <1336928004-6366-1-git-send-email-avi@redhat.com>

On Sun, May 13, 2012 at 07:53:22PM +0300, Avi Kivity wrote:
> The lightweight exit path needlessly reloads %ds and %es (and clobbers the
> user supplied values as well, a minor ABI bug).  This patchset fixes the bug
> and moves the reload to the heavyweight exit path (potentially skipping it
> completely on x86_64), reducing the vmexit cost by about 70 cycles.
> 
> Avi Kivity (2):
>   KVM: VMX: Fix %ds/%es clobber
>   KVM: VMX: Optimize %ds, %es reload
> 
>  arch/x86/kvm/vmx.c |   32 +++++++++++++++++++++++++++++++-
>  1 file changed, 31 insertions(+), 1 deletion(-)

Applied, thanks.


      parent reply	other threads:[~2012-05-16 19:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-13 16:53 [PATCH 0/2] Optimize ds/es reload Avi Kivity
2012-05-13 16:53 ` [PATCH 1/2] KVM: VMX: Fix %ds/%es clobber Avi Kivity
2012-05-13 16:53 ` [PATCH 2/2] KVM: VMX: Optimize %ds, %es reload Avi Kivity
2012-05-16 19:04 ` 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=20120516190403.GA25004@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /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.