]> git.baikalelectronics.ru Git - kernel.git/commit
KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()
authorLan Tianyu <Tianyu.Lan@microsoft.com>
Thu, 6 Dec 2018 13:21:13 +0000 (21:21 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Dec 2018 10:28:43 +0000 (11:28 +0100)
commitd1f770fe6d5408b4d2f7e7f00ccacd5a70628af4
treeb8fb75933370682a7ff7c6bbc82c49dcbf57a1dd
parentba471d71b710dc9e3e9fad95fc51442e4ceb122f
KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()

Originally, flush tlb is done by slot_handle_level_range(). This patch
moves the flush directly to kvm_zap_gfn_range() when range flush is
available, so that only the requested range can be flushed.

Signed-off-by: Lan Tianyu <Tianyu.Lan@microsoft.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c