linux/arch/x86/kvm/mmu
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
..
mmu_audit.c KVM: x86/mmu: Use '0' as the one and only value for an invalid PAE root 2021-03-15 04:44:07 -04:00
mmu_internal.h KVM: x86: Support write protecting only large pages 2021-06-17 13:09:25 -04:00
mmu.c KVM: x86/mmu: Lazily allocate memslot rmaps 2021-06-17 13:09:27 -04:00
mmutrace.h kvm: x86/mmu: Add TDP MMU SPTE changed trace point 2020-11-19 10:57:16 -05:00
page_track.c KVM: x86: Support write protecting only large pages 2021-06-17 13:09:25 -04:00
paging_tmpl.h KVM: X86: MMU: Use the correct inherited permissions to get shadow page 2021-06-08 12:29:53 -04:00
spte.c KVM: x86/mmu: Use low available bits for removed SPTEs 2021-03-15 04:43:54 -04:00
spte.h KVM: x86/mmu: Use low available bits for removed SPTEs 2021-03-15 04:43:54 -04:00
tdp_iter.c KVM: x86/mmu: Store the address space ID in the TDP iterator 2021-03-16 14:16:34 -04:00
tdp_iter.h KVM: x86/mmu: Store the address space ID in the TDP iterator 2021-03-16 14:16:34 -04:00
tdp_mmu.c KVM: x86/mmu: Lazily allocate memslot rmaps 2021-06-17 13:09:27 -04:00
tdp_mmu.h KVM: x86/mmu: Lazily allocate memslot rmaps 2021-06-17 13:09:27 -04:00