Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dmemcontrol.c629 if (x > MEMCG_CHARGE_BATCH) { in memcg_rstat_updated()
637 atomic_add(x / MEMCG_CHARGE_BATCH, &stats_flush_threshold); in memcg_rstat_updated()
2244 if (nr_pages > MEMCG_CHARGE_BATCH) in consume_stock()
2320 if (stock->nr_pages > MEMCG_CHARGE_BATCH) in __refill_stock()
2419 reclaim_high(memcg, MEMCG_CHARGE_BATCH, GFP_KERNEL); in high_work_func()
2556 return penalty_jiffies * nr_pages / MEMCG_CHARGE_BATCH; in calculate_high_delay()
2645 unsigned int batch = max(MEMCG_CHARGE_BATCH, nr_pages); in try_charge_memcg()
2824 if (current->memcg_nr_pages_over_high > MEMCG_CHARGE_BATCH && in try_charge_memcg()
7442 BUILD_BUG_ON(MEMCG_CHARGE_BATCH > S32_MAX / PAGE_SIZE); in mem_cgroup_init()
/openbmc/linux/include/linux/
H A Dmemcontrol.h344 #define MEMCG_CHARGE_BATCH 64U macro