]> Git Repo - linux.git/commit
KVM: x86: make Hyper-V PV TLB flush use tlb_flush_guest()
authorVitaly Kuznetsov <[email protected]>
Wed, 25 Mar 2020 16:28:24 +0000 (12:28 -0400)
committerPaolo Bonzini <[email protected]>
Tue, 21 Apr 2020 13:12:48 +0000 (09:12 -0400)
commit0baedd792713063213f1e2060dc6a5d536638f0a
tree3d300c08b9c97fefe98d823e8d9477832a143100
parente64419d991ea212af087d3c57fcabb4d27db03fc
KVM: x86: make Hyper-V PV TLB flush use tlb_flush_guest()

Hyper-V PV TLB flush mechanism does TLB flush on behalf of the guest
so doing tlb_flush_all() is an overkill, switch to using tlb_flush_guest()
(just like KVM PV TLB flush mechanism) instead. Introduce
KVM_REQ_HV_TLB_FLUSH to support the change.

Signed-off-by: Vitaly Kuznetsov <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/hyperv.c
arch/x86/kvm/x86.c
This page took 0.05588 seconds and 4 git commands to generate.