diff options
author | Yosry Ahmed <[email protected]> | 2022-08-23 00:46:37 +0000 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2022-08-30 07:41:12 -0700 |
commit | 43a063cab325ee7cc50349967e536b3cd4e57f03 (patch) | |
tree | ef1028659ec2f62930896e5d56eb54b0e46c612f /tools/perf/scripts/python/netdev-times.py | |
parent | ebc97a52b5d6cd5fb0c15a3fc9cdd6eb924646a1 (diff) |
KVM: x86/mmu: count KVM mmu usage in secondary pagetable stats.
Count the pages used by KVM mmu on x86 in memory stats under secondary
pagetable stats (e.g. "SecPageTables" in /proc/meminfo) to give better
visibility into the memory consumption of KVM mmu in a similar way to
how normal user page tables are accounted.
Add the inner helper in common KVM, ARM will also use it to count stats
in a future commit.
Signed-off-by: Yosry Ahmed <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Acked-by: Marc Zyngier <[email protected]> # generic KVM changes
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
[sean: squash x86 usage to workaround modpost issues]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions