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(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html