From: JP Kobryn <inwardvessel@gmail.com>
To: shakeel.butt@linux.dev, hannes@cmpxchg.org,
yosryahmed@google.com, akpm@linux-foundation.org,
rostedt@goodmis.org
Cc: linux-mm@kvack.org, cgroups@vger.kernel.org
Subject: [PATCH 0/2 v2] memcg: tracepoint for flushing stats
Date: Fri, 25 Oct 2024 17:48:24 -0700 [thread overview]
Message-ID: <20241026004826.55351-1-inwardvessel@gmail.com> (raw)
This tracepoint gives visibility on how often the flushing of memcg stats
occurs and contains info on whether it was forced, skipped, and the value
of stats updated. It can help with understanding how readers are affected
by having to perform the flush, and the effectiveness of the flush by
inspecting the number of stats updated. Paired with the recently added
tracepoints for tracing rstat updates, it can also help show correlation
where stats exceed thresholds frequently.
JP Kobryn (2):
add memcg flush tracepoint event
use memcg flush tracepoint
include/trace/events/memcg.h | 25 +++++++++++++++++++++++++
mm/memcontrol.c | 22 +++++++++++++---------
2 files changed, 38 insertions(+), 9 deletions(-)
--
2.47.0
next reply other threads:[~2024-10-26 0:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-26 0:48 JP Kobryn [this message]
2024-10-26 0:48 ` [PATCH 1/2 v2] memcg: add memcg flush tracepoint event JP Kobryn
2024-10-26 0:48 ` [PATCH 2/2 v2] memcg: use memcg flush tracepoint JP Kobryn
2024-10-26 6:36 ` [PATCH 0/2 v2] memcg: tracepoint for flushing stats Yosry Ahmed
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=20241026004826.55351-1-inwardvessel@gmail.com \
--to=inwardvessel@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=cgroups@vger.kernel.org \
--cc=hannes@cmpxchg.org \
--cc=linux-mm@kvack.org \
--cc=rostedt@goodmis.org \
--cc=shakeel.butt@linux.dev \
--cc=yosryahmed@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