Re: [PATCH] mm: add per-order mTHP swpin counters
From: Barry Song
Date: Wed Oct 30 2024 - 00:34:06 EST
On Wed, Oct 30, 2024 at 4:45 PM Huang, Ying <ying.huang@xxxxxxxxx> wrote:
>
> Barry Song <21cnbao@xxxxxxxxx> writes:
>
> > From: Barry Song <v-songbaohua@xxxxxxxx>
> >
> > This helps profile the sizes of folios being swapped in. Currently,
> > only mTHP swap-out is being counted.
>
> Better to describe the user space interface in patch description?
>
Do you mean something as below?
The new interface can be found at:
/sys/kernel/mm/transparent_hugepage/hugepages-<size>/stats
swapin
> [snip]
>
> --
> Best Regards,
> Huang, Ying