Searched refs:hugetlb_acct_memory (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/Documentation/translations/zh_CN/mm/ |
D | hugetlbfs_reserv.rst | 126 在咨询了预留映射和子池之后,就知道了需要的新预留数量。hugetlb_acct_memory()函数被调用以检查 127 并获取所要求的预留数量。hugetlb_acct_memory()调用到可能分配和调整剩余页数的函数。然而,在这 245 hugepage_subpool的min_hpages字段中被跟踪。在挂载时,hugetlb_acct_memory(min_hpages) 411 完全相同,但hugetlb_acct_memory中的这个注释总结了预留和cpusets/内存策略之间的相互作
|
/linux-6.12.1/mm/ |
D | hugetlb.c | 85 static int hugetlb_acct_memory(struct hstate *h, long delta); 126 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool() 147 if (min_hpages != -1 && hugetlb_acct_memory(h, min_hpages)) { in hugepage_new_subpool() 946 if (!hugetlb_acct_memory(h, 1)) in hugetlb_fix_reserve_counts() 3085 hugetlb_acct_memory(h, -rsv_adjust); in alloc_hugetlb_folio() 4959 static int hugetlb_acct_memory(struct hstate *h, long delta) in hugetlb_acct_memory() function 5072 hugetlb_acct_memory(h, -gbl_reserve); in hugetlb_vm_op_close() 6982 if (hugetlb_acct_memory(h, gbl_reserve) < 0) in hugetlb_reserve_pages() 7000 hugetlb_acct_memory(h, -gbl_reserve); in hugetlb_reserve_pages() 7022 hugetlb_acct_memory(h, -rsv_adjust); in hugetlb_reserve_pages() [all …]
|
/linux-6.12.1/Documentation/mm/ |
D | hugetlbfs_reserv.rst | 150 reservations is known. The routine hugetlb_acct_memory() is called to check 151 for and take the requested number of reservations. hugetlb_acct_memory() 311 hugetlb_acct_memory(min_hpages) is called to reserve the specified number of 559 comment in hugetlb_acct_memory sums up the interaction between reservations
|