]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0afff3d36eef08f87e6df7e32381556c6b3f591
treef3b6ede460aa6bace9f731c4409f704642eaf9c9
parentf5b7831cf9d6e84a425f13c596e9649bd8ea1f5f
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