Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dvmscan.c76 unsigned long nr_to_reclaim; member
5363 if (sc->nr_reclaimed >= max(sc->nr_to_reclaim, compact_gap(sc->order))) in should_abort_scan()
5575 if (sc->priority != DEF_PRIORITY || sc->nr_to_reclaim < MIN_LRU_BATCH) in set_initial_priority()
5587 priority = fls_long(reclaimable) - 1 - fls_long(sc->nr_to_reclaim - 1); in set_initial_priority()
6044 int swappiness, unsigned long nr_to_reclaim) in run_eviction() argument
6059 if (sc->nr_reclaimed >= nr_to_reclaim) in run_eviction()
6315 unsigned long nr_to_reclaim = sc->nr_to_reclaim; in shrink_lruvec() local
6361 if (nr_reclaimed < nr_to_reclaim || proportional_reclaim) in shrink_lruvec()
6878 if (sc->nr_reclaimed >= sc->nr_to_reclaim) in do_try_to_free_pages()
7081 .nr_to_reclaim = SWAP_CLUSTER_MAX, in try_to_free_pages()
[all …]
Dmemcontrol.c6695 unsigned long nr_to_reclaim, nr_reclaimed = 0; in memory_reclaim() local
6700 err = page_counter_memparse(buf, "", &nr_to_reclaim); in memory_reclaim()
6705 while (nr_reclaimed < nr_to_reclaim) { in memory_reclaim()
6720 min(nr_to_reclaim - nr_reclaimed, SWAP_CLUSTER_MAX), in memory_reclaim()
/linux-6.6.21/Documentation/admin-guide/mm/
Dmultigen_lru.rst149 ``- memcg_id node_id min_gen_nr [swappiness [nr_to_reclaim]]``
155 ``nr_to_reclaim`` limits the number of pages to evict.