Skip to content

Optimize page table walk

Avi Kivity kvm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 5 patches 0 repliesNew

1 of 5 patches is in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: MMU: Push clean gpte write protection out of gpte_access()arch/x86/kvm/mmu.c arch/x86/kvm/mmu.h arch/x86/kvm/paging_tmpl.h+26 -130 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Optimize page table walk

The page table walk has gotten crufty over the years and is threatening to become even more crufty when SMAP is introduced. Clean it up (and optimize it) somewhat.

Avi Kivity (5):
KVM: MMU: Push clean gpte write protection out of gpte_access()
KVM: MMU: Optimize gpte_access() slightly
KVM: MMU: Move gpte_access() out of paging_tmpl.h
KVM: MMU: Optimize pte permission checks
KVM: MMU: Simplify walk_addr_generic() loop

 arch/x86/include/asm/kvm_host.h |   7 +++
 arch/x86/kvm/mmu.c              |  60 ++++++++++++++++++++++
 arch/x86/kvm/mmu.h              |  16 +-----
 arch/x86/kvm/paging_tmpl.h      | 109 +++++++++++++---------------------------
 arch/x86/kvm/x86.c              |  12 ++---
 5 files changed, 110 insertions(+), 94 deletions(-)
Signature · 1 line
1.7.11.3