Re: [v4 PATCH] arm64: mm: show direct mapping use in /proc/meminfo
From: Christoph Lameter (Ampere)
Date: Fri Nov 21 2025 - 16:54:32 EST
On Fri, 21 Nov 2025, Yang Shi wrote:
> Although ptdump also can tell the direct map use, but it needs to dump
> the whole kernel page table. It is costly and overkilling. It is also
> in debugfs which may not be enabled by all distros. So showing direct
> map use in /proc/meminfo seems more convenient and has less overhead.
Also done the same way on x86, parisc, powerpc and s390.
Reviewed-by: Christoph Lameter (Ampere) <cl@xxxxxxxxxx>