From: Marcelo Tosatti <mtosatti@redhat.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: Avi Kivity <avi@redhat.com>, kvm <kvm@vger.kernel.org>,
Sheng Yang <sheng@linux.intel.com>
Subject: Re: [PATCH 2/2] KVM: x86: Avoid issuing wbinvd twice
Date: Mon, 1 Nov 2010 15:57:26 -0200 [thread overview]
Message-ID: <20101101175726.GC4484@amt.cnet> (raw)
In-Reply-To: <4CCEBA29.2050606@web.de>
On Mon, Nov 01, 2010 at 02:01:29PM +0100, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Micro optimization to avoid calling wbinvd twice on the CPU that has to
> emulate it. As we might be preempted between smp_call_function_many and
> the local wbinvd, the cache might be filled again so that real work
> could be done uselessly.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Applied both, thanks.
prev parent reply other threads:[~2010-11-01 18:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-01 13:01 [PATCH 2/2] KVM: x86: Avoid issuing wbinvd twice Jan Kiszka
2010-11-01 17:57 ` 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=20101101175726.GC4484@amt.cnet \
--to=mtosatti@redhat.com \
--cc=avi@redhat.com \
--cc=jan.kiszka@web.de \
--cc=kvm@vger.kernel.org \
--cc=sheng@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox