linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Martin Liu <liumartin@google.com>
To: akpm@linux-foundation.org, hannes@cmpxchg.org
Cc: linux-mm@kvack.org, surenb@google.com, minchan@kernel.org,
	 Martin Liu <liumartin@google.com>
Subject: [PATCH 0/3] Add tracepoints for lowmem reserves, watermarks and totalreserve_pages
Date: Mon,  3 Mar 2025 07:35:34 +0000	[thread overview]
Message-ID: <20250303073537.2264323-1-liumartin@google.com> (raw)

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_pages


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.48.1.711.g2feabab25a-goog



             reply	other threads:[~2025-03-03  7:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-03  7:35 Martin Liu [this message]
2025-03-03  7:35 ` [PATCH 1/3] mm/page_alloc: Add trace event for per-zone watermark setup Martin Liu
2025-03-03  7:35 ` [PATCH 2/3] mm/page_alloc: Add trace event for per-zone lowmem reserve setup Martin Liu
2025-03-03  8:18   ` Kalesh Singh
2025-03-03 10:11     ` Martin Liu
2025-03-03  7:35 ` [PATCH 3/3] mm/page_alloc: Add trace event for totalreserve_pages calculation 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=20250303073537.2264323-1-liumartin@google.com \
    --to=liumartin@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-mm@kvack.org \
    --cc=minchan@kernel.org \
    --cc=surenb@google.com \
    /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