[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <31e46f74-c6eb-58d9-bad6-518d96de7d96@google.com>
Date: Sun, 9 Mar 2025 17:53:42 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Martin Liu <liumartin@...gle.com>
cc: Steven Rostedt <rostedt@...dmis.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH v2 1/3] mm/page_alloc: Add trace event for per-zone
watermark setup
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 <liumartin@...gle.com>
Acked-by: David Rientjes <rientjes@...gle.com>
Powered by blists - more mailing lists