diff options
| author | Sean Christopherson <[email protected]> | 2022-06-24 17:18:08 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-06-25 04:54:51 -0400 |
| commit | b9b71f43683ae9d76b0989249607bbe8c9eb6c5c (patch) | |
| tree | 688a7392e01cc0b6e8415892354004dc4c6a4847 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 72ae5822b81a6686c4b4d526ccdd7b7f5f0f9b97 (diff) | |
KVM: x86/mmu: Buffer nested MMU split_desc_cache only by default capacity
Buffer split_desc_cache, the cache used to allcoate rmap list entries,
only by the default cache capacity (currently 40), not by doubling the
minimum (513). Aliasing L2 GPAs to L1 GPAs is uncommon, thus eager page
splitting is unlikely to need 500+ entries. And because each object is a
non-trivial 128 bytes (see struct pte_list_desc), those extra ~500
entries means KVM is in all likelihood wasting ~64kb of memory per VM.
Link: https://lore.kernel.org/all/YrTDcrsn0%[email protected]
Cc: David Matlack <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions