]> 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)
commit03575cf5dcd14cc4b9bd8e47cd7410f34c84ab40
tree364fff385cc295c2948f7326148a637e6ca176a0
parent2fbd096575b86a78bebb831dc792c99969a15e4c
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