Re: [PATCH v2 0/3] Add tracepoints for lowmem reserves, watermarks and totalreserve_pages

From: Martin Liu
Date: Wed Mar 12 2025 - 11:51:37 EST


Hi Andrew,

I hope you've had a chance to review this patchset. I was wondering if you
had any concerns about merging it, or if there's anything I need to address.

Thanks,
Martin

On Sat, Mar 8, 2025 at 11:46 AM Martin Liu <liumartin@xxxxxxxxxx> wrote:
>
> This patchset introduces tracepoints to track changes in the lowmem
> reserves, watermarks and totalreserve_pages. This helps to track
> the exact timing of such changes and understand their relation to
> reclaim activities.
>
> The tracepoints added are:
>
> mm_setup_per_zone_lowmem_reserve
> mm_setup_per_zone_wmarks
> mm_calculate_totalreserve_pagesi
>
> Changes in V2:
> Fix coding format error. Feedback from kaleshsingh@xxxxxxxxxx.
>
> Martin Liu (3):
> mm/page_alloc: Add trace event for per-zone watermark setup
> mm/page_alloc: Add trace event for per-zone lowmem reserve setup
> mm/page_alloc: Add trace event for totalreserve_pages calculation
>
> include/trace/events/kmem.h | 78 +++++++++++++++++++++++++++++++++++++
> mm/page_alloc.c | 4 ++
> 2 files changed, 82 insertions(+)
>
> --
> 2.49.0.rc0.332.g42c0ae87b1-goog
>