Searched refs:stats_flush_threshold (Results 1 – 1 of 1) sorted by relevance
592 static atomic_t stats_flush_threshold = ATOMIC_INIT(0); variable636 if (atomic_read(&stats_flush_threshold) <= num_online_cpus()) in memcg_rstat_updated()637 atomic_add(x / MEMCG_CHARGE_BATCH, &stats_flush_threshold); in memcg_rstat_updated()657 atomic_set(&stats_flush_threshold, 0); in do_flush_stats()663 if (atomic_read(&stats_flush_threshold) > num_online_cpus()) in mem_cgroup_flush_stats()