Home
last modified time | relevance | path

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

/mm/
Dvmscan.c395 unsigned long nr_to_scan = min(batch_size, total_scan); in do_shrink_slab() local
397 shrinkctl->nr_to_scan = nr_to_scan; in do_shrink_slab()
403 count_vm_events(SLABS_SCANNED, nr_to_scan); in do_shrink_slab()
404 total_scan -= nr_to_scan; in do_shrink_slab()
405 scanned += nr_to_scan; in do_shrink_slab()
1451 static unsigned long isolate_lru_pages(unsigned long nr_to_scan, in isolate_lru_pages() argument
1463 for (scan = 0; scan < nr_to_scan && nr_taken < nr_to_scan && in isolate_lru_pages()
1531 trace_mm_vmscan_lru_isolate(sc->reclaim_idx, sc->order, nr_to_scan, scan, in isolate_lru_pages()
1721 shrink_inactive_list(unsigned long nr_to_scan, struct lruvec *lruvec, in shrink_inactive_list() argument
1758 nr_taken = isolate_lru_pages(nr_to_scan, lruvec, &page_list, in shrink_inactive_list()
[all …]
Dhuge_memory.c2275 if (!--sc->nr_to_scan) in deferred_split_scan()
Dshmem.c421 unsigned long batch = sc ? sc->nr_to_scan : 128; in shmem_unused_huge_shrink()