diff options
| author | Ben Gardon <[email protected]> | 2021-05-18 10:34:13 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-06-17 13:09:26 -0400 |
| commit | e2209710ccc5d28d8b88c822d2f3e03b269a2856 (patch) | |
| tree | f198fad36374a91f85df2e836f1f30c1b226e1fe /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a255740876f006eb9041fadcc4750557d26add5f (diff) | |
KVM: x86/mmu: Skip rmap operations if rmaps not allocated
If only the TDP MMU is being used to manage the memory mappings for a VM,
then many rmap operations can be skipped as they are guaranteed to be
no-ops. This saves some time which would be spent on the rmap operation.
It also avoids acquiring the MMU lock in write mode for many operations.
This makes it safe to run the VM without rmaps allocated, when only
using the TDP MMU and sets the stage for waiting to allocate the rmaps
until they're needed.
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions