Skip to content

KVM: x86: Clean up rmap zap helpers

Sean Christopherson kvm lkml 2 versions – Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyApplied
  2. v15 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Split up patches into smaller, more related chunks. [Paolo]
- Reorder patches to put all renames at the end. [Paolo]
- Avoid quadruple underscores and use more consistent names. [Paolo]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7KVM: x86/mmu: Return a u64 (the old SPTE) from mmu_spte_clear_track_bits()arch/x86/kvm/mmu/mmu.c+1 -10 replies
2/7KVM: x86/mmu: Directly "destroy" PTE list when recycling rmapsarch/x86/kvm/mmu/mmu.c+1 -10 replies
3/7KVM: x86/mmu: Drop the "p is for pointer" from rmap helpersarch/x86/kvm/mmu/mmu.c+21 -220 replies
4/7KVM: x86/mmu: Rename __kvm_zap_rmaps() to align with other nomenclaturearch/x86/kvm/mmu/mmu.c+2 -20 replies
5/7KVM: x86/mmu: Rename rmap zap helpers to eliminate "unmap" wrapperarch/x86/kvm/mmu/mmu.c+8 -80 replies
6/7KVM: x86/mmu: Rename pte_list_{destroy,remove}() to show they zap SPTEsarch/x86/kvm/mmu/mmu.c+9 -80 replies
7/7KVM: x86/mmu: Remove underscores from __pte_list_remove()arch/x86/kvm/mmu/mmu.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] KVM: x86: Clean up rmap zap helpers

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.

v2:
- Split up patches into smaller, more related chunks. [Paolo]
- Reorder patches to put all renames at the end. [Paolo]
- Avoid quadruple underscores and use more consistent names. [Paolo]

v1: https://lore.kernel.org/all/[email protected]

Sean Christopherson (7):
KVM: x86/mmu: Return a u64 (the old SPTE) from
mmu_spte_clear_track_bits()
KVM: x86/mmu: Directly "destroy" PTE list when recycling rmaps
KVM: x86/mmu: Drop the "p is for pointer" from rmap helpers
KVM: x86/mmu: Rename __kvm_zap_rmaps() to align with other
nomenclature
KVM: x86/mmu: Rename rmap zap helpers to eliminate "unmap" wrapper
KVM: x86/mmu: Rename pte_list_{destroy,remove}() to show they zap
SPTEs
KVM: x86/mmu: Remove underscores from __pte_list_remove()

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

base-commit: 8031d87aa9953ddeb047a5356ebd0b240c30f233

Signature · 1 line
2.37.0.170.g444d1eabd0-goog