KVM: X86: Avoid traversing all the cpus for pv tlb flush when steal time is disabled
authorWanpeng Li <wanpengli@tencent.com>
Mon, 5 Feb 2018 06:57:58 +0000 (22:57 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 24 Feb 2018 00:43:49 +0000 (01:43 +0100)
commit4f2f61fc507176edd65826fbedc8987dea29b9d5
tree99fe7048c8fbcd27f6af8a19267490c1bc1a3b9b
parentafdc3f588850a6fbc996205ee2d472eb4426afb3
KVM: X86: Avoid traversing all the cpus for pv tlb flush when steal time is disabled

Avoid traversing all the cpus for pv tlb flush when steal time
is disabled since pv tlb flush depends on the field in steal time
for shared data.

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>
arch/x86/kernel/kvm.c