mbox series

[0/2,v2] memcg: tracepoint for flushing stats

Message ID 20241026004826.55351-1-inwardvessel@gmail.com (mailing list archive)
Headers show
Series memcg: tracepoint for flushing stats | expand

Message

JP Kobryn Oct. 26, 2024, 12:48 a.m. UTC
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(-)