Re: [RFC PATCH 12/26] mm: page_alloc: per-migratetype free counts

Mel Gorman
2023-04-21T14:28:51Z

On Tue, Apr 18, 2023 at 03:12:59PM -0400, Johannes Weiner wrote:
> Increase visibility into the defragmentation behavior by tracking and
> reporting per-migratetype free counters.
>
> Subsequent patches will also use those counters to make more targeted
> reclaim/compaction decisions.
>
> Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>

Visibility into fragmentation behaviour is information that is
almost certainly only useful to a developer and even then, there is
/proc/pagetypeinfo. At minimum, move this patch to later in the series
but I'm skeptical about its benefit.

--
Mel Gorman
SUSE Labs