Thread (9 messages) 9 messages, 3 authors, 2025-03-22

Re: [PATCH v2 1/3] mm/page_alloc: Add trace event for per-zone watermark setup

From: David Rientjes <rientjes@google.com>
Date: 2025-03-10 00:53:45
Also in: linux-mm, lkml

On Sat, 8 Mar 2025, Martin Liu wrote:
This commit introduces the `mm_setup_per_zone_wmarks` trace event,
which provides detailed insights into the kernel's per-zone watermark
configuration, offering precise timing and the ability to correlate
watermark changes with specific kernel events.

While `/proc/zoneinfo` provides some information about zone watermarks,
this trace event offers:

1. The ability to link watermark changes to specific kernel events and
logic.

2. The ability to capture rapid or short-lived changes in watermarks
that may be missed by user-space polling

3.  Diagnosing unexpected kswapd activity or excessive direct reclaim
triggered by rapidly changing watermarks.

Signed-off-by: Martin Liu <redacted>
Acked-by: David Rientjes <rientjes@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help