Home
last modified time | relevance | path

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

/mm/
Dquicklist.c26 static unsigned long max_pages(unsigned long min_pages) in max_pages() argument
47 return max(max, min_pages); in max_pages()
51 unsigned long min_pages, long max_free) in min_pages_to_free() argument
55 pages_to_free = q->nr_pages - max_pages(min_pages); in min_pages_to_free()
64 unsigned long min_pages, unsigned long max_free) in quicklist_trim() argument
70 if (q->nr_pages > min_pages) { in quicklist_trim()
71 pages_to_free = min_pages_to_free(q, min_pages, max_free); in quicklist_trim()
Dpage_alloc.c6693 unsigned long min_pages; in __setup_per_zone_wmarks() local
6695 min_pages = zone->managed_pages / 1024; in __setup_per_zone_wmarks()
6696 min_pages = clamp(min_pages, SWAP_CLUSTER_MAX, 128UL); in __setup_per_zone_wmarks()
6697 zone->watermark[WMARK_MIN] = min_pages; in __setup_per_zone_wmarks()