summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiao Guangrong2010-06-08 14:05:05 +0200
committerAvi Kivity2010-08-01 09:46:24 +0200
commit4f78fd08e91c52f097d64a42d903b76fe52a3a0f (patch)
tree5652e290d83143340c8318f57dea42b692afadda
parentKVM: VMX: fix rcu usage warning in init_rmode() (diff)
downloadkernel-qcow2-linux-4f78fd08e91c52f097d64a42d903b76fe52a3a0f.tar.gz
kernel-qcow2-linux-4f78fd08e91c52f097d64a42d903b76fe52a3a0f.tar.xz
kernel-qcow2-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,