diff options
author | Yosry Ahmed <yosryahmed@google.com> | 2022-08-23 03:46:39 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2022-08-30 17:44:25 +0300 |
commit | d38ba8ccd9c22b177d50f896a1bdc2f0979b343f (patch) | |
tree | b1cf2c47575da918b8015f1cdc478c2aeb0500fe /virt | |
parent | 43a063cab325ee7cc50349967e536b3cd4e57f03 (diff) | |
download | linux-d38ba8ccd9c22b177d50f896a1bdc2f0979b343f.tar.xz |
KVM: arm64/mmu: count KVM s2 mmu usage in secondary pagetable stats
Count the pages used by KVM in arm64 for stage2 mmu 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.
Signed-off-by: Yosry Ahmed <yosryahmed@google.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220823004639.2387269-5-yosryahmed@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions