forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
4b9d3a0451
commit
4f78fd08e9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user