summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/cpuid.c
diff options
context:
space:
mode:
authorWanpeng Li <wanpengli@tencent.com>2019-06-11 20:23:49 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-07-02 18:56:04 +0200
commit715062970f3748fbbf55c1a8cb495051760a65c1 (patch)
treea2443ef6acff1492eea3cd89caa7130f6130a88d /arch/x86/kvm/cpuid.c
parentf85f6e7bc9682a6d8b342c010cd6aa58521fdeec (diff)
downloadlinux-715062970f3748fbbf55c1a8cb495051760a65c1.tar.bz2
KVM: X86: Implement PV sched yield hypercall
The target vCPUs are in runnable state after vcpu_kick and suitable as a yield target. This patch implements the sched yield hypercall. 17% performance increasement of ebizzy benchmark can be observed in an over-subscribe environment. (w/ kvm-pv-tlb disabled, testing TLB flush call-function IPI-many since call-function is not easy to be trigged by userspace workload). 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/cpuid.c')
0 files changed, 0 insertions, 0 deletions