Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hv/
Dhv_balloon.c1088 unsigned long min_pages; in compute_balloon_floor() local
1103 min_pages = MB2PAGES(8) + (nr_pages >> 1); in compute_balloon_floor()
1105 min_pages = MB2PAGES(40) + (nr_pages >> 2); in compute_balloon_floor()
1107 min_pages = MB2PAGES(104) + (nr_pages >> 3); in compute_balloon_floor()
1109 min_pages = MB2PAGES(232) + (nr_pages >> 4); in compute_balloon_floor()
1111 min_pages = MB2PAGES(488) + (nr_pages >> 5); in compute_balloon_floor()
1113 return min_pages; in compute_balloon_floor()
/kernel/linux/linux-5.10/mm/
Dpage_alloc.c8023 unsigned long min_pages; in __setup_per_zone_wmarks() local
8025 min_pages = zone_managed_pages(zone) / 1024; in __setup_per_zone_wmarks()
8026 min_pages = clamp(min_pages, SWAP_CLUSTER_MAX, 128UL); in __setup_per_zone_wmarks()
8027 zone->_watermark[WMARK_MIN] = min_pages; in __setup_per_zone_wmarks()