Home
last modified time | relevance | path

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

/Linux-v6.1/mm/
Dmemcontrol.c580 static atomic_t stats_flush_threshold = ATOMIC_INIT(0); variable
621 if (atomic_read(&stats_flush_threshold) <= num_online_cpus()) in memcg_rstat_updated()
622 atomic_add(x / MEMCG_CHARGE_BATCH, &stats_flush_threshold); in memcg_rstat_updated()
636 atomic_set(&stats_flush_threshold, 0); in __mem_cgroup_flush_stats()
642 if (atomic_read(&stats_flush_threshold) > num_online_cpus()) in mem_cgroup_flush_stats()