KVM: x86/mmu: Rename pte_list_{destroy,remove}() to show they zap SPTEs
authorSean Christopherson <seanjc@google.com>
Fri, 15 Jul 2022 22:42:25 +0000 (22:42 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Jul 2022 17:22:18 +0000 (13:22 -0400)
commit9202aee816c84d69179f94193c5dd321bb0e8530
treef3b6ede460aa6bace9f731c4409f704642eaf9c9
parentf8480721a74b82c6e88fff09286aa452d5ed6d71
KVM: x86/mmu: Rename pte_list_{destroy,remove}() to show they zap SPTEs

Rename pte_list_remove() and pte_list_destroy() to kvm_zap_one_rmap_spte()
and kvm_zap_all_rmap_sptes() respectively to document that (a) they zap
SPTEs and (b) to better document how they differ (remove vs. destroy does
not exactly scream "one vs. all").

No functional change intended.

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