Searched refs:MEMCG_CHARGE_BATCH (Results 1 - 2 of 2) sorted by relevance

/linux-master/mm/
H A Dmemcontrol.c675 * (MEMCG_CHARGE_BATCH * nr_cpus) update events. Though this optimization
676 * will let stats be out of sync by atmost (MEMCG_CHARGE_BATCH * nr_cpus) but
711 MEMCG_CHARGE_BATCH * num_online_cpus();
726 if (statc->stats_updates < MEMCG_CHARGE_BATCH)
2316 if (nr_pages > MEMCG_CHARGE_BATCH)
2392 if (stock->nr_pages > MEMCG_CHARGE_BATCH)
2491 reclaim_high(memcg, MEMCG_CHARGE_BATCH, GFP_KERNEL);
2625 * MEMCG_CHARGE_BATCH pages is nominal, so work out how much smaller or
2628 return penalty_jiffies * nr_pages / MEMCG_CHARGE_BATCH;
2732 unsigned int batch = max(MEMCG_CHARGE_BATCH, nr_page
[all...]
/linux-master/include/linux/
H A Dmemcontrol.h347 #define MEMCG_CHARGE_BATCH 64U macro

Completed in 137 milliseconds