Re: [PATCH 0/5] KVM: x86: Clean up rmap zap helpers

From: Paolo Bonzini
Date: Thu Jul 14 2022 - 12:47:43 EST


On 7/12/22 03:55, Sean Christopherson wrote:
Clean up the rmap helpers (mostly renames) to yield a more coherent set of
APIs, and to purge the irritating and inconsistent "rmapp" (p is for pointer)
nomenclature.

Patch 1 is a tangentially related fix for a benign bug.

Sean Christopherson (5):
KVM: x86/mmu: Return a u64 (the old SPTE) from
mmu_spte_clear_track_bits()
KVM: x86/mmu: Rename rmap zap helpers to better show relationships
KVM: x86/mmu: Remove underscores from __pte_list_remove()
KVM: x86/mmu: Use innermost rmap zap helper when recycling rmaps
KVM: x86/mmu: Drop the "p is for pointer" from rmap helpers

arch/x86/kvm/mmu/mmu.c | 73 +++++++++++++++++++++---------------------
1 file changed, 36 insertions(+), 37 deletions(-)


base-commit: b9b71f43683ae9d76b0989249607bbe8c9eb6c5c

I'm not sure I dig the ____, I'll take a closer look tomorrow or next week since it's dinner time here.

I'm pushing what you and I collected over the past 3 weeks, for now I only checked that it compiles.

Paolo