]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: Add ability to skip TLB flush when switching CR3
authorJunaid Shahid <junaids@google.com>
Wed, 27 Jun 2018 21:59:12 +0000 (14:59 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Aug 2018 15:58:55 +0000 (17:58 +0200)
commitac7d15b637cc176be7647b8e34dd0bad1d5162dd
treedde4847d96f41b66542bcf81c65b351d273a1f6f
parent4d108c382362fb4939d318c5f3cebcb874660ea6
kvm: x86: Add ability to skip TLB flush when switching CR3

Remove the implicit flush from the set_cr3 handlers, so that the
callers are able to decide whether to flush the TLB or not.

Signed-off-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c