mbox series

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

Message ID 20250308034606.2036033-1-liumartin@google.com (mailing list archive)
Headers show
Series Add tracepoints for lowmem reserves, watermarks and totalreserve_pages | expand

Message

Martin Liu March 8, 2025, 3:45 a.m. UTC
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@google.com.

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(+)

Comments

Martin Liu March 12, 2025, 3:50 p.m. UTC | #1
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@google.com> 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@google.com.
>
> 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
>