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)
commit0f53dfa34efaffebf9da3b5472a6b5b3599bc8f9
tree364fff385cc295c2948f7326148a637e6ca176a0
parentc298a30c2821cb03274dfc81840f7bd3eb59d5a3
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