Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dvmscan.c2420 unsigned long nr_to_reclaim = sc->nr_to_reclaim; in shrink_lruvec() local
2461 if (nr_reclaimed < nr_to_reclaim || proportional_reclaim) in shrink_lruvec()
3032 if (sc->nr_reclaimed >= sc->nr_to_reclaim) in do_try_to_free_pages()
3239 .nr_to_reclaim = SWAP_CLUSTER_MAX, in try_to_free_pages()
3287 .nr_to_reclaim = SWAP_CLUSTER_MAX, in mem_cgroup_shrink_node()
3340 .nr_to_reclaim = max(nr_pages, SWAP_CLUSTER_MAX), in try_to_free_mem_cgroup_pages()
3515 sc->nr_to_reclaim = 0; in kswapd_shrink_node()
3521 sc->nr_to_reclaim += max(high_wmark_pages(zone), SWAP_CLUSTER_MAX); in kswapd_shrink_node()
3544 return sc->nr_scanned >= sc->nr_to_reclaim; in kswapd_shrink_node()
4031 unsigned long shrink_all_memory(unsigned long nr_to_reclaim) in shrink_all_memory() argument
[all …]
Dmemcg_reclaim.c208 if (sc->nr_reclaimed >= sc->nr_to_reclaim || in shrink_anon_memcg()
304 if (sc->nr_reclaimed >= sc->nr_to_reclaim || in shrink_anon()
Dzswapd.c632 if (sc->nr_reclaimed >= sc->nr_to_reclaim) { in zswapd_shrink_anon()
638 return sc->nr_scanned >= sc->nr_to_reclaim; in zswapd_shrink_anon()
683 sc.nr_to_reclaim = __calc_nr_to_reclaim(); in zswapd_shrink_node()
Dmemcg_control.c399 sc.nr_to_reclaim = div_u64(reclaim_size, PAGE_SIZE); in memcg_force_shrink_purgeable_bysize()
Dinternal.h53 unsigned long nr_to_reclaim; member