diff options
author | Wanpeng Li <wanpengli@tencent.com> | 2022-02-25 00:29:40 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-25 10:09:34 -0500 |
commit | 40cd58dbf121e1d0c18f1bd4dd10335ae45a28fc (patch) | |
tree | f408d6406e4c896e77677e1bb82b622dcbaee1c3 /arch/x86/kernel/kvmclock.c | |
parent | ece32a75f003464cad59c26305b4462305273d70 (diff) |
x86/kvm: Don't use PV TLB/yield when mwait is advertised
MWAIT is advertised in host is not overcommitted scenario, however, PV
TLB/sched yield should be enabled in host overcommitted scenario. Let's
add the MWAIT checking when enabling PV TLB/sched yield.
Signed-off-by: Wanpeng Li <wanpengli@tencent.com>
Message-Id: <1645777780-2581-1-git-send-email-wanpengli@tencent.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kernel/kvmclock.c')
0 files changed, 0 insertions, 0 deletions