Re: [PATCH v4 0/2] mm: add per-order mTHP alloc and swpout counters

From: Andrew Morton
Date: Fri Apr 05 2024 - 16:11:51 EST


On Fri, 5 Apr 2024 23:27:02 +1300 Barry Song <21cnbao@xxxxxxxxx> wrote:

> The patchset introduces a framework to facilitate mTHP counters, starting
> with the allocation and swap-out counters. Currently, only four new nodes
> are appended to the stats directory for each mTHP size.
>
> /sys/kernel/mm/transparent_hugepage/hugepages-<size>/stats
> anon_alloc
> anon_alloc_fallback
> anon_swpout
> anon_swpout_fallback

Please let's get these documented?
Documentation/admin-guide/mm/transhuge.rst seems to be the place, and
under Documentation/ABI.