mmu root page cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | KVM: MMU: Rearrange struct kvm_mmu_pagearch/ | +8 | 0 replies | |
| 2/5 | KVM: MMU: use 16 bits for root_countarch/ | +1 | 0 replies | |
| 3/5 | KVM: MMU: Unify 32-pae and single-root mmu setuparch/ | +21 | 0 replies | |
| 4/5 | KVM: MMU: Use correct root gfn for direct mapsarch/ | +5 | 0 replies | |
| 5/5 | KVM: MMU: Fix check for cr3 outside guest memoryarch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] mmu root page cleanups
I tried to separate direct and indirect page allocation to reduce memory usage with tdp, but that turned out too messy (and not much of a win - we allocate 8K per page outside the struct kvm_mmu_page). However the cleanups on the way are worthwhile.
Avi Kivity (5):
KVM: MMU: Rearrange struct kvm_mmu_page
KVM: MMU: use 16 bits for root_count
KVM: MMU: Unify 32-pae and single-root mmu setup
KVM: MMU: Use correct root gfn for direct maps
KVM: MMU: Fix check for cr3 outside guest memory
arch/x86/include/asm/kvm_host.h | 15 ++++++----- arch/x86/kvm/mmu.c | 53 +++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 34 deletions(-)