Home
last modified time | relevance | path

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

/mm/
Dvmscan.c784 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab() local
786 shrinkctl->nr_to_scan = nr_to_scan; in do_shrink_slab()
787 shrinkctl->nr_scanned = nr_to_scan; in do_shrink_slab()
1973 static unsigned long isolate_lru_pages(unsigned long nr_to_scan, in isolate_lru_pages() argument
1988 while (scan < nr_to_scan && !list_empty(src)) { in isolate_lru_pages()
2060 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, nr_to_scan, in isolate_lru_pages()
2238 shrink_inactive_list(unsigned long nr_to_scan, struct lruvec *lruvec, in shrink_inactive_list() argument
2270 nr_taken = isolate_lru_pages(nr_to_scan, lruvec, &page_list, in shrink_inactive_list()
2353 static void shrink_active_list(unsigned long nr_to_scan, in shrink_active_list() argument
2375 nr_taken = isolate_lru_pages(nr_to_scan, lruvec, &l_hold, in shrink_active_list()
[all …]
Dhuge_memory.c2841 if (!--sc->nr_to_scan) in deferred_split_scan()
Dshmem.c558 unsigned long batch = sc ? sc->nr_to_scan : 128; in shmem_unused_huge_shrink()