Skip to content

Add tracepoints for lowmem reserves, watermarks and totalreserve_pages

Martin Liu linux-mm linux-trace-kernel lkml 2 versions – Applied

Status from this message: [merged mm-stable] mm-page_alloc-add-trace-event-for-totalreserve_pages-calculation.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesApplied 3/3
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

Fix coding format error. Feedback from [email protected].

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3mm/page_alloc: Add trace event for per-zone watermark setupinclude/trace/events/kmem.h mm/page_alloc.c+34 -01 replyApplied
2/3mm/page_alloc: Add trace event for per-zone lowmem reserve setupinclude/trace/events/kmem.h mm/page_alloc.c+29 -02 repliesApplied
3/3mm/page_alloc: Add trace event for totalreserve_pages calculationinclude/trace/events/kmem.h mm/page_alloc.c+19 -01 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDavid Rientjes
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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 [email protected].

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(+)
Signature · 1 line
2.49.0.rc0.332.g42c0ae87b1-goog