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

From: Mel Gorman
Date: Fri Apr 21 2023 - 10:28:50 EST


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@xxxxxxxxxxx>

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