Skip to content

Commit

Permalink
KVM: MMU: remove unnecessary remote tlb flush
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Xiao Guangrong authored and Avi Kivity committed Aug 1, 2010
1 parent 4b9d3a0 commit 4f78fd0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kvm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3040,8 +3040,6 @@ void kvm_mmu_zap_all(struct kvm *kvm)

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,
Expand Down

0 comments on commit 4f78fd0

Please sign in to comment.