diff options
author | Quentin Perret <[email protected]> | 2021-06-08 11:45:18 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-06-11 13:24:12 +0100 |
commit | 6929586d8eddad184f43526efe7bf0a8be4f18b2 (patch) | |
tree | 285136df8a757c3ade2eaa347c1386c0a5fa9009 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 87ec0606733e1aa9568f54ddb41f03aa6b5687f2 (diff) |
KVM: arm64: Use less bits for hyp_page refcount
The hyp_page refcount is currently encoded on 4 bytes even though we
never need to count that many objects in a page. Make it 2 bytes to save
some space in the vmemmap.
As overflows are more likely to happen as well, make sure to catch those
with a BUG in the increment function.
Signed-off-by: Quentin Perret <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions