diff options
| author | Lai Jiangshan <[email protected]> | 2021-11-18 19:08:13 +0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-12-08 04:25:10 -0500 |
| commit | b46a13cb7ea1137b2e01dfaafcacd5cd79db8390 (patch) | |
| tree | 4eac5e4a020acb5a79f2f11ea622473898dfb83a /tools/perf/scripts/python/flamegraph.py | |
| parent | 41e35604eaff2266ba8523787ebe99c5ca4c4045 (diff) | |
KVM: X86: Calculate quadrant when !role.gpte_is_8_bytes
role.quadrant is only valid when gpte size is 4 bytes and only be
calculated when gpte size is 4 bytes.
Although "vcpu->arch.mmu->root_level <= PT32_ROOT_LEVEL" also means
gpte size is 4 bytes, but using "!role.gpte_is_8_bytes" is clearer
Signed-off-by: Lai Jiangshan <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions