From: David Rientjes <rientjes@google.com>
To: Martin Liu <liumartin@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
Masami Hiramatsu <mhiramat@kernel.org>,
Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org,
linux-trace-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH v2 1/3] mm/page_alloc: Add trace event for per-zone watermark setup
Date: Sun, 9 Mar 2025 17:53:42 -0700 (PDT) [thread overview]
Message-ID: <31e46f74-c6eb-58d9-bad6-518d96de7d96@google.com> (raw)
In-Reply-To: <20250308034606.2036033-2-liumartin@google.com>
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@google.com>
Acked-by: David Rientjes <rientjes@google.com>
next prev parent reply other threads:[~2025-03-10 0:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-08 3:45 [PATCH v2 0/3] Add tracepoints for lowmem reserves, watermarks and totalreserve_pages Martin Liu
2025-03-08 3:46 ` [PATCH v2 1/3] mm/page_alloc: Add trace event for per-zone watermark setup Martin Liu
2025-03-10 0:53 ` David Rientjes [this message]
2025-03-08 3:46 ` [PATCH v2 2/3] mm/page_alloc: Add trace event for per-zone lowmem reserve setup Martin Liu
2025-03-10 0:53 ` David Rientjes
2025-03-22 9:03 ` Steven Rostedt
2025-03-08 3:46 ` [PATCH v2 3/3] mm/page_alloc: Add trace event for totalreserve_pages calculation Martin Liu
2025-03-10 0:54 ` David Rientjes
2025-03-12 15:50 ` [PATCH v2 0/3] Add tracepoints for lowmem reserves, watermarks and totalreserve_pages Martin Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=31e46f74-c6eb-58d9-bad6-518d96de7d96@google.com \
--to=rientjes@google.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=liumartin@google.com \
--cc=mathieu.desnoyers@efficios.com \
--cc=mhiramat@kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox