Re: [PATCH 3/3] mm: add vmstat statistics for madvise_[cold|pageout]

From: Michal Hocko
Date: Wed Jan 18 2023 - 05:09:51 EST


On Tue 17-01-23 15:16:32, Minchan Kim wrote:
> madvise LRU manipulation APIs need to scan address ranges to find
> present pages at page table and provides advice hints for them.
>
> Likewise pg[scan/steal] count on vmstat, madvise_pg[scanned/hinted]
> shows the proactive reclaim efficiency so this patch addes those
> two statistics in vmstat.

Please describe the usecase for those new counters.
--
Michal Hocko
SUSE Labs