Skip to content

KVM: x86/mmu: Cleanups from eager page splitting

Sean Christopherson kvm lkml 3 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. v3 Latest3 patches 1 replyApplied
  2. v24 patches 2 repliesSuperseded
  3. v13 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Collect more reviews. [David]
- https://lore.kernel.org/all/[email protected]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: x86/mmu: Add optimized helper to retrieve an SPTE's indexarch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/paging_tmpl.h arch/x86/kvm/mmu/spte.h+18 -140 replies
2/3KVM: x86/mmu: Expand quadrant comment for PG_LEVEL_4K shadow pagesarch/x86/kvm/mmu/mmu.c+11 -40 replies
3/3KVM: x86/mmu: Fix typo and tweak comment for split_desc_cache capacityarch/x86/kvm/mmu/mmu.c+8 -70 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchDavid Matlack
1/3R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] KVM: x86/mmu: Cleanups from eager page splitting

Eager page splitting cleanups for a few minor things that were noted in code review but didn't make it into the committed code.

Patch 3 is kinda silly. If it weren't for the typo, I wouldn't have bothered (the existing comment is good enough, I couldn't stop tinkering).

v3:
- Collect more reviews. [David]
- https://lore.kernel.org/all/[email protected]

v2:
- Add helper to compute SPTE's index into its parent. [David].
- Collect reviews [David].
- Tweak the comment in the last patch after more analysis.

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

Sean Christopherson (3):
KVM: x86/mmu: Add optimized helper to retrieve an SPTE's index
KVM: x86/mmu: Expand quadrant comment for PG_LEVEL_4K shadow pages
KVM: x86/mmu: Fix typo and tweak comment for split_desc_cache capacity

 arch/x86/kvm/mmu/mmu.c         | 52 +++++++++++++++++++---------------
 arch/x86/kvm/mmu/paging_tmpl.h |  4 +--
 arch/x86/kvm/mmu/spte.h        |  6 ++++
 3 files changed, 37 insertions(+), 25 deletions(-)

base-commit: b9b71f43683ae9d76b0989249607bbe8c9eb6c5c

Signature · 1 line
2.37.0.144.g8ac04bfd2-goog