summaryrefslogtreecommitdiff
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorWanpeng Li <wanpengli@tencent.com>2019-08-01 06:30:14 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-08-05 13:55:46 +0300
commit046ddeed0461b5d270470c253cbb321103d048b6 (patch)
tree3adf95674f267b4e056b56bd8227dde6a9eebfc6 /include/linux/kvm_host.h
parenta48d06f9b7cedbb8ad7804d1720168b7ee6a34e7 (diff)
downloadlinux-046ddeed0461b5d270470c253cbb321103d048b6.tar.xz
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 'include/linux/kvm_host.h')
0 files changed, 0 insertions, 0 deletions