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

Martin Liu posted 3 patches 11 months ago
include/trace/events/kmem.h | 78 +++++++++++++++++++++++++++++++++++++
mm/page_alloc.c             |  4 ++
2 files changed, 82 insertions(+)
[PATCH v2 0/3] Add tracepoints for lowmem reserves, watermarks and totalreserve_pages
Posted by Martin Liu 11 months ago
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
Re: [PATCH v2 0/3] Add tracepoints for lowmem reserves, watermarks and totalreserve_pages
Posted by Martin Liu 11 months ago
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
>