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