]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
KVM: MMU: remove unnecessary remote tlb flush
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Tue, 8 Jun 2010 12:05:05 +0000 (20:05 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:24 +0000 (10:46 +0300)
This remote tlb flush is no necessary since we have synced while
sp is zapped

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c

index b285449e82b065c509f47693de2b3e4aaddaf5c0..098a0b8616b01d464b580310d25495dc65fad427 100644 (file)
@@ -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,