Home
last modified time | relevance | path

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

/linux-6.3-rc2/mm/
A Dmemcontrol.c590 static atomic_t stats_flush_threshold = ATOMIC_INIT(0); variable
631 if (atomic_read(&stats_flush_threshold) <= num_online_cpus()) in memcg_rstat_updated()
632 atomic_add(x / MEMCG_CHARGE_BATCH, &stats_flush_threshold); in memcg_rstat_updated()
646 atomic_set(&stats_flush_threshold, 0); in __mem_cgroup_flush_stats()
652 if (atomic_read(&stats_flush_threshold) > num_online_cpus()) in mem_cgroup_flush_stats()

Completed in 17 milliseconds