cr4 optimizations for vmx/ept
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: VMX: Move some cr[04] related constants to vmx.carch/ arch/ | +13 | 0 replies | |
| 2/4 | KVM: Add accessor for reading cr4 (or some bits of cr4)arch/ arch/ arch/ +2 more | +30 | 4 replies | |
| 3/4 | KVM: VMX: Make guest cr4 mask more conservativearch/ | +6 | 0 replies | |
| 4/4 | KVM: VMX: When using ept, allow the guest to own cr4.pgearch/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] cr4 optimizations for vmx/ept
When ept is enabled, we aren't particularly interested in cr4.pge, so allow the guest to own it. This improves performance in vmap() intensive loads.
Avi Kivity (4):
KVM: VMX: Move some cr[04] related constants to vmx.c
KVM: Add accessor for reading cr4 (or some bits of cr4)
KVM: VMX: Make guest cr4 mask more conservative
KVM: VMX: When using ept, allow the guest to own cr4.pge
arch/x86/include/asm/kvm_host.h | 14 +------------- arch/x86/kvm/kvm_cache_regs.h | 12 ++++++++++++ arch/x86/kvm/mmu.h | 5 +++-- arch/x86/kvm/vmx.c | 32 ++++++++++++++++++++++++++------ arch/x86/kvm/x86.c | 16 ++++++---------- 5 files changed, 48 insertions(+), 31 deletions(-)