Searched refs:max_hpages (Results 1 – 1 of 1) sorted by relevance
61 long mem_avail, max_hpages; in limit_hugepages() local75 max_hpages = mem_avail / SAFE_READ_MEMINFO("Hugepagesize:"); in limit_hugepages()77 if (*hpages > max_hpages) { in limit_hugepages()80 max_hpages); in limit_hugepages()81 *hpages = max_hpages * 0.8; in limit_hugepages()