Commit 7390de1e authored by Committed by Paolo BonziniBrowse files
Revert "KVM: x86: use the fast way to invalidate all pages"
Revert to a slow kvm_mmu_zap_all() for kvm_arch_flush_shadow_all(). Flushing all shadow entries is only done during VM teardown, i.e. kvm_arch_flush_shadow_all() is only called when the associated MM struct is being released or when the VM instance is being freed. Although the performance of teardown itself isn't critical, KVM should still voluntarily schedule to play nice with the rest of the kernel; but that can be done without the fast invalidate mechanism in a future patch. This reverts commit 6ca18b69 . Cc: Xiao Guangrong <email@example.com> Signed-off-by: Sean Christopherson <firstname.lastname@example.org> Signed-off-by: Paolo Bonzini <email@example.com>