mbox series

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

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

Message

JP Kobryn Oct. 29, 2024, 2:11 a.m. UTC
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(-)