Home
last modified time | relevance | path

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

/mm/
Dvmscan.c84 unsigned long nr_to_reclaim; member
4665 if (sc->priority != DEF_PRIORITY || sc->nr_to_reclaim < MIN_LRU_BATCH) in set_initial_priority()
4677 priority = fls_long(reclaimable) - 1 - fls_long(sc->nr_to_reclaim - 1); in set_initial_priority()
5494 if (sc->nr_reclaimed >= max(sc->nr_to_reclaim, compact_gap(sc->order))) in should_abort_scan()
6151 int swappiness, unsigned long nr_to_reclaim) in run_eviction() argument
6166 if (sc->nr_reclaimed >= nr_to_reclaim) in run_eviction()
6422 unsigned long nr_to_reclaim = sc->nr_to_reclaim; in shrink_lruvec() local
6469 if (nr_reclaimed < nr_to_reclaim || proportional_reclaim) in shrink_lruvec()
6607 &sc->nr_to_reclaim, &sc->nr_reclaimed, &continue_reclaim); in should_continue_reclaim()
6970 &sc->nr_to_reclaim, sc->target_mem_cgroup, &file_is_tiny, in modify_scan_control()
[all …]
Dmemcontrol.c6844 unsigned long nr_to_reclaim, nr_reclaimed = 0; in memory_reclaim() local
6849 err = page_counter_memparse(buf, "", &nr_to_reclaim); in memory_reclaim()
6854 while (nr_reclaimed < nr_to_reclaim) { in memory_reclaim()
6856 unsigned long batch_size = (nr_to_reclaim - nr_reclaimed) / 4; in memory_reclaim()