summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorWanpeng Li <wanpengli@tencent.com>2019-06-11 20:23:48 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-07-02 18:56:01 +0200
commitf85f6e7bc9682a6d8b342c010cd6aa58521fdeec (patch)
tree5ca2f323769a35386e2a24b4c21d4c099778e950 /arch/x86/kvm/x86.c
parent11e349143e3289ab99f1b4858649f60703b7bf35 (diff)
downloadlwn-f85f6e7bc9682a6d8b342c010cd6aa58521fdeec.tar.gz
lwn-f85f6e7bc9682a6d8b342c010cd6aa58521fdeec.zip
KVM: X86: Yield to IPI target if necessary
When sending a call-function IPI-many to vCPUs, yield if any of the IPI target vCPUs was preempted, we just select the first preempted target vCPU which we found since the state of target vCPUs can change underneath and to avoid race conditions. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: Radim Krčmář <rkrcmar@redhat.com> Cc: Liran Alon <liran.alon@oracle.com> Signed-off-by: Wanpeng Li <wanpengli@tencent.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions