public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Using the tlb flush util function where applicable
@ 2014-09-12 21:06 Liang Chen
  2014-09-15 19:33 ` Radim Krčmář
  0 siblings, 1 reply; 7+ messages in thread
From: Liang Chen @ 2014-09-12 21:06 UTC (permalink / raw)
  To: pbonzini; +Cc: kvm, Liang Chen

Using kvm_mmu_flush_tlb as the other places to make sure vcpu
 stat is incremented

Signed-off-by: Liang Chen <liangchen.linux@gmail.com>
---
 arch/x86/kvm/vmx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index bfe11cf..439682e 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -1810,7 +1810,7 @@ static void vmx_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
 		struct desc_ptr *gdt = &__get_cpu_var(host_gdt);
 		unsigned long sysenter_esp;
 
-		kvm_make_request(KVM_REQ_TLB_FLUSH, vcpu);
+		kvm_mmu_flush_tlb(vcpu);
 		local_irq_disable();
 		crash_disable_local_vmclear(cpu);
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-17 11:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-12 21:06 [PATCH] Using the tlb flush util function where applicable Liang Chen
2014-09-15 19:33 ` Radim Krčmář
2014-09-15 22:49   ` Liang Chen
2014-09-16  8:56     ` Paolo Bonzini
2014-09-17  0:15   ` Wanpeng Li
2014-09-17 10:45     ` Radim Krčmář
2014-09-17 11:06       ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox