]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Rename handle_removed_tdp_mmu_page() to handle_removed_pt()
authorDavid Matlack <dmatlack@google.com>
Wed, 19 Jan 2022 23:07:27 +0000 (23:07 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:38 +0000 (13:50 -0500)
commitdc417220f820a8f1854d681b806135ea70e6871b
tree364fff385cc295c2948f7326148a637e6ca176a0
parentd16d10a2ab5d380650ef6936649fe0b705fb3a45
KVM: x86/mmu: Rename handle_removed_tdp_mmu_page() to handle_removed_pt()

First remove tdp_mmu_ from the name since it is redundant given that it
is a static function in tdp_mmu.c. There is a pattern of using tdp_mmu_
as a prefix in the names of static TDP MMU functions, but all of the
other handle_*() variants do not include such a prefix. So drop it
entirely.

Then change "page" to "pt" to convey that this is operating on a page
table rather than an struct page. Purposely use "pt" instead of "sp"
since this function takes the raw RCU-protected page table pointer as an
argument rather than  a pointer to the struct kvm_mmu_page.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220119230739.2234394-7-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/tdp_mmu.c