mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wanpeng Li <kernellwp@gmail.com>
To: linux-kernel@vger.kernel.org, kvm@vger.kernel.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Sean Christopherson <sean.j.christopherson@intel.com>,
	Vitaly Kuznetsov <vkuznets@redhat.com>,
	Wanpeng Li <wanpengli@tencent.com>,
	Jim Mattson <jmattson@google.com>, Joerg Roedel <joro@8bytes.org>
Subject: [PATCH 0/3] KVM: X86: Single target IPI fastpath enhancement
Date: Thu, 26 Mar 2020 10:19:59 +0800	[thread overview]
Message-ID: <1585189202-1708-1-git-send-email-wanpengli@tencent.com> (raw)

The original single target IPI fastpath patch forgot to filter the 
ICR destination shorthand field. Multicast IPI is not suitable for 
this feature since wakeup the multiple sleeping vCPUs will extend 
the interrupt disabled time, it especially worse in the over-subscribe 
and VM has a little bit more vCPUs scenario. Let's narrow it down to 
single target IPI. In addition, this patchset micro-optimize virtual 
IPI emulation sequence for fastpath.

Wanpeng Li (3):
  KVM: X86: Delay read msr data iff writes ICR MSR
  KVM: X86: Narrow down the IPI fastpath to single target IPI
  KVM: X86: Micro-optimize IPI fastpath delay

 arch/x86/kvm/lapic.c |  4 ++--
 arch/x86/kvm/lapic.h |  1 +
 arch/x86/kvm/x86.c   | 14 +++++++++++---
 3 files changed, 14 insertions(+), 5 deletions(-)

-- 
2.7.4


             reply	other threads:[~2020-03-26  2:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26  2:19 Wanpeng Li [this message]
2020-03-26  2:20 ` [PATCH 1/3] KVM: X86: Delay read msr data iff writes ICR MSR Wanpeng Li
2020-03-26  2:20 ` [PATCH 2/3] KVM: X86: Narrow down the IPI fastpath to single target IPI Wanpeng Li
2020-03-26  2:20 ` [PATCH 3/3] KVM: X86: Micro-optimize IPI fastpath delay Wanpeng Li
2020-03-26  9:46 ` [PATCH 0/3] KVM: X86: Single target IPI fastpath enhancement Paolo Bonzini

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=1585189202-1708-1-git-send-email-wanpengli@tencent.com \
    --to=kernellwp@gmail.com \
    --cc=jmattson@google.com \
    --cc=joro@8bytes.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=sean.j.christopherson@intel.com \
    --cc=vkuznets@redhat.com \
    --cc=wanpengli@tencent.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

all inboxes | Powered by JetHome®