summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2010-06-08 20:05:05 +0800
committerAvi Kivity <avi@redhat.com>2010-08-01 10:46:24 +0300
commit4f78fd08e91c52f097d64a42d903b76fe52a3a0f (patch)
tree5652e290d83143340c8318f57dea42b692afadda
parent4b9d3a04519fb508ad3b7ce8a7962929b2614185 (diff)
downloadlinux-4f78fd08e91c52f097d64a42d903b76fe52a3a0f.tar.gz
linux-4f78fd08e91c52f097d64a42d903b76fe52a3a0f.tar.bz2
linux-4f78fd08e91c52f097d64a42d903b76fe52a3a0f.zip
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 <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--arch/x86/kvm/mmu.c2
1 files changed, 0 insertions, 2 deletions
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,