Skip to contentSkip to conversation

KVM: remove unnecessary remote tlb flush

PATCH Applied Joerg Roedel 2 participants 2 messages Sep 1, 2008 – Sep 2, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 arch/x86/kvm/mmu.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/x86/kvm/mmu.c +0 -1
index f4ab99f..0cbd5b4 100644
@@ -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
Applied
#1 lore raw
Quoted 4 lines · Joerg Roedel

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.

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function