Searched refs:resv_huge_pages (Results 1 – 4 of 4) sorted by relevance
37 resv_huge_pages39 务可用。因此,一般可用的巨页的数量被计算为(``free_huge_pages - resv_huge_pages``)。127 些函数中,代码只是检查以确保有足够的空闲的巨页来容纳预留。如果有的话,全局预留计数resv_huge_pages130 if (resv_needed <= (resv_huge_pages - free_huge_pages))131 resv_huge_pages += resv_needed;135 如果有足够的空闲的巨页,并且全局计数resv_huge_pages被调整,那么与映射相关的预留映射被修改以176 resv_huge_pages--; /* 减少全局预留计数 */180 SetPagePrivate(page) 和 resv_huge_pages--.192 SetPagePrivate(page)和resv_huge_pages-。215 当一个已经实例化的巨页被释放时,不会对全局预留计数(resv_huge_pages)进行调整。[all …]
35 resv_huge_pages39 as (``free_huge_pages - resv_huge_pages``).157 the global reservation count resv_huge_pages is adjusted something like the160 if (resv_needed <= (resv_huge_pages - free_huge_pages))161 resv_huge_pages += resv_needed;166 If there were enough free huge pages and the global count resv_huge_pages227 resv_huge_pages--; /* Decrement the global reservation count */234 resv_huge_pages--.269 to the global reservation count (resv_huge_pages).292 Therefore, the global resv_huge_pages counter is incremented in this case.[all …]
1353 return h->free_huge_pages - h->resv_huge_pages; in available_huge_pages()1394 h->resv_huge_pages--; in dequeue_huge_page_vma()1896 h->resv_huge_pages++; in free_huge_page()2524 needed = (h->resv_huge_pages + delta) - h->free_huge_pages; in gather_surplus_pages()2526 h->resv_huge_pages += delta; in gather_surplus_pages()2552 needed = (h->resv_huge_pages + delta) - in gather_surplus_pages()2573 h->resv_huge_pages += delta; in gather_surplus_pages()2614 h->resv_huge_pages -= unused_resv_pages; in return_unused_surplus_pages()3088 h->resv_huge_pages--; in alloc_huge_page()3540 min_count = h->resv_huge_pages + h->nr_huge_pages - h->free_huge_pages; in set_max_huge_pages()[all …]
679 unsigned long resv_huge_pages; member