Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dmemcontrol.c560 MEMCG_CHARGE_BATCH * num_online_cpus(); in memcg_vmstats_needs_flush()
577 if (stats_updates < MEMCG_CHARGE_BATCH) in memcg_rstat_updated()
1739 if (nr_pages > MEMCG_CHARGE_BATCH) in consume_stock()
1819 if (stock_pages > MEMCG_CHARGE_BATCH) in __refill_stock()
1919 reclaim_high(memcg, MEMCG_CHARGE_BATCH, GFP_KERNEL); in high_work_func()
2056 return penalty_jiffies * nr_pages / MEMCG_CHARGE_BATCH; in calculate_high_delay()
2160 unsigned int batch = max(MEMCG_CHARGE_BATCH, nr_pages); in try_charge_memcg()
2346 if (current->memcg_nr_pages_over_high > MEMCG_CHARGE_BATCH && in try_charge_memcg()
4908 BUILD_BUG_ON(MEMCG_CHARGE_BATCH > S32_MAX / PAGE_SIZE); in mem_cgroup_init()
/linux-6.12.1/include/linux/
Dmemcontrol.h334 #define MEMCG_CHARGE_BATCH 64U macro