[v4 PATCH] arm64: mm: show direct mapping use in /proc/meminfo
Christoph Lameter (Ampere)
cl at gentwo.org
Fri Nov 21 13:54:31 PST 2025
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 at gentwo.org>
More information about the linux-arm-kernel
mailing list