diff options
| author | Ben Gardon <[email protected]> | 2021-05-18 10:34:14 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-06-17 13:09:27 -0400 |
| commit | d501f747ef5c0ac0c917f9a6781d04ae4ae39d63 (patch) | |
| tree | 4e083219aaff30031d8df1fb0463279ba0cba222 /tools/perf/scripts/python | |
| parent | e2209710ccc5d28d8b88c822d2f3e03b269a2856 (diff) | |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions