From: Xiao Guangrong Date: Tue, 8 Jun 2010 12:05:05 +0000 (+0800) Subject: KVM: MMU: remove unnecessary remote tlb flush X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4f78fd08e91c52f097d64a42d903b76fe52a3a0f;p=linux-beck.git KVM: MMU: remove unnecessary remote tlb flush This remote tlb flush is no necessary since we have synced while sp is zapped Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index b285449e82b0..098a0b8616b0 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -3040,8 +3040,6 @@ restart: kvm_mmu_commit_zap_page(kvm, &invalid_list); spin_unlock(&kvm->mmu_lock); - - kvm_flush_remote_tlbs(kvm); } static int kvm_mmu_remove_some_alloc_mmu_pages(struct kvm *kvm,