aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2022-06-07 10:07:11 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-06-08 04:21:06 -0400
commit54aa83c90198e68eee8b0850c749bc70efb548da (patch)
treed7d4efd13d42a72a0e05252689037bc08e126037 /arch/x86/include
parentKVM: SVM: fix tsc scaling cache logic (diff)
downloadlinux-dev-54aa83c90198e68eee8b0850c749bc70efb548da.tar.xz
linux-dev-54aa83c90198e68eee8b0850c749bc70efb548da.zip
KVM: x86: do not set st->preempted when going back to user space
Similar to the Xen path, only change the vCPU's reported state if the vCPU was actually preempted. The reason for KVM's behavior is that for example optimistic spinning might not be a good idea if the guest is doing repeated exits to userspace; however, it is confusing and unlikely to make a difference, because well-tuned guests will hardly ever exit KVM_RUN in the first place. Suggested-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions