[PATCH v6 4/4] KVM: arm64/mmu: count KVM s2 mmu usage in secondary pagetable stats

Marc Zyngier maz at kernel.org
Wed Jun 29 03:30:31 PDT 2022


On Tue, 28 Jun 2022 23:09:38 +0100,
Yosry Ahmed <yosryahmed at google.com> wrote:
> 
> 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 at google.com>
> Reviewed-by: Oliver Upton <oliver.upton at linux.dev>

Reviewed-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list