KVM: remove unnecessary remote tlb flush
PATCH 1/1 KVM: remove unnecessary remote tlb flush
The remote tlb flush in kvm_mmu_page_unlink_children() is not necessary because this function is only called in kvm_mmu_zap_page() which does the flush itself afterwards.
Signed-off-by Joerg Roedel <[email protected]>
--- arch/x86/kvm/mmu.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/kvm/mmu.c +0 -1
@@ -980,7 +980,6 @@ static void kvm_mmu_page_unlink_children(struct kvm *kvm,rmap_remove (kvm, &pt[i]); pt[i] = shadow_trap_nonpresent_pte; } -kvm_flush_remote_tlbs (kvm);return ; }
Signature · 1 line
1.5.3.7
Avi Kivity
AppliedQuoted 4 lines · Joerg Roedel
The remote tlb flush in
kvm_mmu_page_unlink_children()is not necessary because this function is only called inkvm_mmu_zap_page()which does the flush itself afterwards.
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function