Home
last modified time | relevance | path

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

/linux/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;
98 TP_printk("memcg_id=%llu stats_updates=%lld force=%d needs_flush=%d",
99 __entry->id, __entry->stats_updates,
/linux/mm/
H A Dmemcontrol.c502 unsigned int stats_updates; member
533 atomic_t stats_updates; member
559 return atomic_read(&vmstats->stats_updates) > in memcg_vmstats_needs_flush()
568 unsigned int stats_updates; in memcg_rstat_updated() local
580 * stats_updates. in memcg_rstat_updated()
585 stats_updates = this_cpu_add_return(statc_pcpu->stats_updates, in memcg_rstat_updated()
587 if (stats_updates < MEMCG_CHARGE_BATCH) in memcg_rstat_updated()
590 stats_updates = this_cpu_xchg(statc_pcpu->stats_updates, in memcg_rstat_updated()
[all...]