]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36873d169f335a3b943422e01389751bf5aa7647
tree99fe7048c8fbcd27f6af8a19267490c1bc1a3b9b
parentaa754e93b4af8f4f46c19cb87e7e8ce02d4475e4
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