]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Move flushing for "slot" handlers to caller for legacy MMU
authorSean Christopherson <seanjc@google.com>
Fri, 26 Mar 2021 02:19:41 +0000 (19:19 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 17 Apr 2021 12:30:53 +0000 (08:30 -0400)
commit32f9ca61f8f3b66d20fb5ada5d523753ec1195f1
treeabfe00fd5c321e785570e164a6193e04d9390aeb
parentdbad387eb75727ee44d2836bbe49cf46dc42d7e4
KVM: x86/mmu: Move flushing for "slot" handlers to caller for legacy MMU

Place the onus on the caller of slot_handle_*() to flush the TLB, rather
than handling the flush in the helper, and rename parameters accordingly.
This will allow future patches to coalesce flushes between address spaces
and between the legacy and TDP MMUs.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210326021957.1424875-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c