From: Paolo Bonzini <pbonzini@redhat.com>
To: Jason Baron <jbaron@akamai.com>, kvm@vger.kernel.org
Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
peterz@infradead.org, aarcange@redhat.com, x86@kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] Use static_call for kvm_x86_ops
Date: Mon, 11 Jan 2021 18:31:58 +0100 [thread overview]
Message-ID: <f56312ed-32d5-f1ca-8ca8-6de20daa955e@redhat.com> (raw)
In-Reply-To: <cover.1610379877.git.jbaron@akamai.com>
On 11/01/21 17:57, Jason Baron wrote:
> Hi,
>
> Convert kvm_x86_ops to use static_call. Shows good performance
> gains for cpuid loop micro-benchmark (resulsts included in patch 2).
>
> Thanks,
>
> -Jason
>
> Jason Baron (2):
> KVM: x86: introduce definitions to support static calls for kvm_x86_ops
> KVM: x86: use static calls to reduce kvm_x86_ops overhead
>
> arch/x86/include/asm/kvm_host.h | 71 +++++++++-
> arch/x86/kvm/cpuid.c | 2 +-
> arch/x86/kvm/hyperv.c | 4 +-
> arch/x86/kvm/irq.c | 2 +-
> arch/x86/kvm/kvm_cache_regs.h | 10 +-
> arch/x86/kvm/lapic.c | 28 ++--
> arch/x86/kvm/mmu.h | 6 +-
> arch/x86/kvm/mmu/mmu.c | 12 +-
> arch/x86/kvm/mmu/spte.c | 2 +-
> arch/x86/kvm/pmu.c | 2 +-
> arch/x86/kvm/trace.h | 4 +-
> arch/x86/kvm/x86.c | 299 ++++++++++++++++++++--------------------
> arch/x86/kvm/x86.h | 6 +-
> 13 files changed, 259 insertions(+), 189 deletions(-)
>
Thank you thank you thank you! :)
(Except that now I have to find another task for a new KVM developer,
but that's not a big deal).
Paolo
prev parent reply other threads:[~2021-01-11 17:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-11 16:57 Jason Baron
2021-01-11 16:57 ` [PATCH 1/2] KVM: x86: introduce definitions to support static calls " Jason Baron
2021-01-12 23:04 ` Sean Christopherson
2021-01-13 4:12 ` Jason Baron
2021-01-13 12:47 ` Paolo Bonzini
2021-01-13 16:29 ` Sean Christopherson
2021-01-13 12:53 ` Paolo Bonzini
2021-01-13 16:16 ` Jason Baron
2021-01-13 16:30 ` Jason Baron
2021-01-13 17:02 ` Paolo Bonzini
2021-01-13 17:11 ` Sean Christopherson
2021-01-13 17:17 ` Sean Christopherson
2021-01-11 16:57 ` [PATCH 2/2] KVM: x86: use static calls to reduce kvm_x86_ops overhead Jason Baron
2021-01-11 17:31 ` Paolo Bonzini [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=f56312ed-32d5-f1ca-8ca8-6de20daa955e@redhat.com \
--to=pbonzini@redhat.com \
--cc=aarcange@redhat.com \
--cc=bp@alien8.de \
--cc=jbaron@akamai.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=x86@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®