aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>2010-06-08 08:05:05 -0400
committerAvi Kivity <avi@redhat.com>2010-08-01 03:46:24 -0400
commit4f78fd08e91c52f097d64a42d903b76fe52a3a0f (patch)
tree5652e290d83143340c8318f57dea42b692afadda /arch/x86/kvm
parent4b9d3a04519fb508ad3b7ce8a7962929b2614185 (diff)
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>
Diffstat (limited to 'arch/x86/kvm')
-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:
3040 3040
3041 kvm_mmu_commit_zap_page(kvm, &invalid_list); 3041 kvm_mmu_commit_zap_page(kvm, &invalid_list);
3042 spin_unlock(&kvm->mmu_lock); 3042 spin_unlock(&kvm->mmu_lock);
3043
3044 kvm_flush_remote_tlbs(kvm);
3045} 3043}
3046 3044
3047static int kvm_mmu_remove_some_alloc_mmu_pages(struct kvm *kvm, 3045static int kvm_mmu_remove_some_alloc_mmu_pages(struct kvm *kvm,