Re: [PATCH v2] mm: add alloc_contig_migrate_range allocation statistics

From: Minchan Kim
Date: Wed Feb 28 2024 - 13:00:07 EST


On Wed, Feb 28, 2024 at 05:11:17AM +0000, Richard Chang wrote:
> alloc_contig_migrate_range has every information to be able to
> understand big contiguous allocation latency. For example, how many
> pages are migrated, how many times they were needed to unmap from
> page tables.
>
> This patch adds the trace event to collect the allocation statistics.
> In the field, it was quite useful to understand CMA allocation
> latency.
>
> Signed-off-by: Richard Chang <richardycc@xxxxxxxxxx>

Acked-by: Minchan Kim <minchan@xxxxxxxxxx>