[PATCH v2] mm: add alloc_contig_migrate_range allocation statistics

2024-02-27 Thread Richard Chang
, it was quite useful to understand CMA allocation latency. Signed-off-by: Richard Chang --- * from v1 - https://lore.kernel.org/linux-mm/20240226100045.2083962-1-richard...@google.com/ * Move the trace event int field to the end of the longs - rostedt * Do the calculation only when tracing

[PATCH] mm: add alloc_contig_migrate_range allocation statistics

2024-02-26 Thread Richard Chang
, it was quite useful to understand CMA allocation latency. Signed-off-by: Richard Chang --- include/trace/events/kmem.h | 39 + mm/internal.h | 3 ++- mm/page_alloc.c | 30 +++- mm/page_isolation.c | 2