OSDN Git Service

KVM: VMX: Don't do full kick when handling posted interrupt wakeup
authorSean Christopherson <seanjc@google.com>
Wed, 8 Dec 2021 01:52:30 +0000 (01:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 19 Jan 2022 17:14:47 +0000 (12:14 -0500)
commit635e6357f948d57bc98af8d37eb81896333822e9
tree8f7b5e5c71db0d63d64c0aecacffe9e7478c0be0
parentccf8d687542f6a7288b79727bec1cc084b3771b3
KVM: VMX: Don't do full kick when handling posted interrupt wakeup

When waking vCPUs in the posted interrupt wakeup handling, do exactly
that and no more.  There is no need to kick the vCPU as the wakeup
handler just needs to get the vCPU task running, and if it's in the guest
then it's definitely running.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20211208015236.1616697-21-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/posted_intr.c