• David Matlack's avatar
    KVM: x86/mmu: Rename handle_removed_tdp_mmu_page() to handle_removed_pt() · 0f53dfa3
    David Matlack authored
    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: default avatarDavid Matlack <dmatlack@google.com>
    Message-Id: <20220119230739.2234394-7-dmatlack@google.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    0f53dfa3
tdp_mmu.c 44.6 KB