linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 v3] memcg: tracepoint for flushing stats
@ 2024-10-29  2:11 JP Kobryn
  2024-10-29  2:11 ` [PATCH 1/2 v3] memcg: rename do_flush_stats and add force flag JP Kobryn
  2024-10-29  2:11 ` [PATCH 2/2 v3] memcg: add flush tracepoint JP Kobryn
  0 siblings, 2 replies; 7+ messages in thread
From: JP Kobryn @ 2024-10-29  2:11 UTC (permalink / raw)
  To: shakeel.butt, hannes, yosryahmed, akpm, rostedt; +Cc: linux-mm, cgroups

This series adds new capability for understanding frequency and circumstances
behind flushing memcg stats.

Changelog v2:
- remove tracepoint enum and call sites where enum was used
- rename do_flush_stats() and include forced flag
- add forced and needs_flush flags, stats_updated to tracepoint event

Changelog v3:
- split renaming and flag into separate patch
- re-order patches so that the tracepoint comes after the preliminary code
  changes

JP Kobryn (2):
  rename do_flush_stats and add force flag
  add flush tracepoint

 include/trace/events/memcg.h | 25 +++++++++++++++++++++++++
 mm/memcontrol.c              | 22 +++++++++++++---------
 2 files changed, 38 insertions(+), 9 deletions(-)

-- 
2.47.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-10-29  5:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-29  2:11 [PATCH 0/2 v3] memcg: tracepoint for flushing stats JP Kobryn
2024-10-29  2:11 ` [PATCH 1/2 v3] memcg: rename do_flush_stats and add force flag JP Kobryn
2024-10-29  2:43   ` Yosry Ahmed
2024-10-29  5:25   ` Shakeel Butt
2024-10-29  2:11 ` [PATCH 2/2 v3] memcg: add flush tracepoint JP Kobryn
2024-10-29  2:44   ` Yosry Ahmed
2024-10-29  5:27   ` Shakeel Butt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox