Skip to content

KVM: x86/mmu: Optimize rsvd pte checks

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 5 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: x86/mmu: Reorder the reserved bit check in prefetch_invalid_gpte()arch/x86/kvm/mmu/paging_tmpl.h+3 -31 reply
2/2KVM: x86/mmu: Micro-optimize nEPT's bad memptype/XWR checksarch/x86/kvm/mmu/mmu.c arch/x86/kvm/mmu/paging_tmpl.h+31 -144 replies

Reviews trailers per patch

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

PatchVitaly Kuznetsov
1/2R-b
2/2R-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/2] KVM: x86/mmu: Optimize rsvd pte checks

Two patches to optimize the reserved bit and illegal EPT memtype/XWR checks, and more importantly, clean up an undocumented, subtle bitwise-OR in the code.

v2: Rewrite everything.

v1: https://lkml.kernel.org/r/[email protected]

Sean Christopherson (2):
KVM: x86/mmu: Reorder the reserved bit check in
prefetch_invalid_gpte()
KVM: x86/mmu: Micro-optimize nEPT's bad memptype/XWR checks

 arch/x86/kvm/mmu/mmu.c         | 26 ++++++++++++++------------
 arch/x86/kvm/mmu/paging_tmpl.h | 23 +++++++++++++++++++----
 2 files changed, 33 insertions(+), 16 deletions(-)
Signature · 1 line
2.24.1