linux-stable/arch/x86/include
Ben Gardon d501f747ef KVM: x86/mmu: Lazily allocate memslot rmaps
If the TDP MMU is in use, wait to allocate the rmaps until the shadow
MMU is actually used. (i.e. a nested VM is launched.) This saves memory
equal to 0.2% of guest memory in cases where the TDP MMU is used and
there are no nested guests involved.

Signed-off-by: Ben Gardon <bgardon@google.com>
Message-Id: <20210518173414.450044-8-bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-06-17 13:09:27 -04:00
..
asm KVM: x86/mmu: Lazily allocate memslot rmaps 2021-06-17 13:09:27 -04:00
uapi/asm KVM: nVMX: Properly pad 'struct kvm_vmx_nested_state_hdr' 2021-05-07 06:06:13 -04:00