Skip to content

KVM: arm64: Minor page fault handler improvement

Gavin Shan kvmarm lkml 2 versions – Applied

Status from this message: Applied to kvm-arm64/memslot-fixes, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v14 patches 12 repliesSuperseded

Changes in v2 from the cover letter

   * Rebased to 5.12.rc3 and include r-bs from Keqian  (Gavin)
   * Drop patch to fix IPA limit boundary issue        (Keqian)
   * Comments on why we use __gfn_to_pfn_memslot()     (Keqian)

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: arm64: Hide kvm_mmu_wp_memory_region()arch/arm64/include/asm/kvm_host.h arch/arm64/kvm/mmu.c+1 -20 replies
2/3KVM: arm64: Use find_vma_intersection()arch/arm64/kvm/mmu.c+6 -40 replies
3/3KVM: arm64: Don't retrieve memory slot again in page fault handlerarch/arm64/kvm/mmu.c+7 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchKeqian Zhu
1/3R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] KVM: arm64: Minor page fault handler improvement

The series includes several minior improvements to stage-2 page fault
handler: PATCH[1/2] are cleaning up the code. PATCH[3] don't retrieve the memory slot again in the page fault handler to save a bit CPU cycles.

Changelog
=========
v2:

   * Rebased to 5.12.rc3 and include r-bs from Keqian  (Gavin)
   * Drop patch to fix IPA limit boundary issue        (Keqian)
   * Comments on why we use __gfn_to_pfn_memslot()     (Keqian)

Gavin Shan (3):
KVM: arm64: Hide kvm_mmu_wp_memory_region()
KVM: arm64: Use find_vma_intersection()
KVM: arm64: Don't retrieve memory slot again in page fault handler

 arch/arm64/include/asm/kvm_host.h |  1 -
 arch/arm64/kvm/mmu.c              | 21 ++++++++++++++-------
 2 files changed, 14 insertions(+), 8 deletions(-)
Signature · 6 lines
2.23.0

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm