Home
last modified time | relevance | path

Searched refs:stats_updates (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/include/trace/events/
H A Dmemcg.h79 TP_PROTO(struct mem_cgroup *memcg, s64 stats_updates,
82 TP_ARGS(memcg, stats_updates, force, needs_flush),
86 __field(s64, stats_updates)
93 __entry->stats_updates = stats_updates;
99 __entry->id, __entry->stats_updates,
/linux-6.15/mm/
H A Dmemcontrol.c492 unsigned int stats_updates; member
523 atomic64_t stats_updates; member
572 return atomic64_read(&vmstats->stats_updates) > in memcg_vmstats_needs_flush()
580 unsigned int stats_updates; in memcg_rstat_updated() local
588 stats_updates = READ_ONCE(statc->stats_updates) + abs(val); in memcg_rstat_updated()
589 WRITE_ONCE(statc->stats_updates, stats_updates); in memcg_rstat_updated()
590 if (stats_updates < MEMCG_CHARGE_BATCH) in memcg_rstat_updated()
598 atomic64_add(stats_updates, in memcg_rstat_updated()
599 &statc->vmstats->stats_updates); in memcg_rstat_updated()
600 WRITE_ONCE(statc->stats_updates, 0); in memcg_rstat_updated()
[all …]