diff options
author | Wanpeng Li <wanpengli@tencent.com> | 2019-08-01 05:30:14 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-08-05 12:55:46 +0200 |
commit | 046ddeed0461b5d270470c253cbb321103d048b6 (patch) | |
tree | 3adf95674f267b4e056b56bd8227dde6a9eebfc6 /drivers/rtc/rtc-rx4581.c | |
parent | KVM: LAPIC: Don't need to wakeup vCPU twice afer timer fire (diff) | |
download | linux-046ddeed0461b5d270470c253cbb321103d048b6.tar.xz linux-046ddeed0461b5d270470c253cbb321103d048b6.zip |
KVM: Check preempted_in_kernel for involuntary preemption
preempted_in_kernel is updated in preempt_notifier when involuntary preemption
ocurrs, it can be stale when the voluntarily preempted vCPUs are taken into
account by kvm_vcpu_on_spin() loop. This patch lets it just check preempted_in_kernel
for involuntary preemption.
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'drivers/rtc/rtc-rx4581.c')
0 files changed, 0 insertions, 0 deletions