Home
last modified time | relevance | path

Searched refs:hugetlb_acct_memory (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dhugetlbfs_reserv.rst126 在咨询了预留映射和子池之后,就知道了需要的新预留数量。hugetlb_acct_memory()函数被调用以检查
127 并获取所要求的预留数量。hugetlb_acct_memory()调用到可能分配和调整剩余页数的函数。然而,在这
245 hugepage_subpool的min_hpages字段中被跟踪。在挂载时,hugetlb_acct_memory(min_hpages)
411 完全相同,但hugetlb_acct_memory中的这个注释总结了预留和cpusets/内存策略之间的相互作
/openbmc/linux/mm/
H A Dhugetlb.c94 static int hugetlb_acct_memory(struct hstate *h, long delta);
124 hugetlb_acct_memory(spool->hstate, in unlock_or_release_subpool()
145 if (min_hpages != -1 && hugetlb_acct_memory(h, min_hpages)) { in hugepage_new_subpool()
944 if (!hugetlb_acct_memory(h, 1)) in hugetlb_fix_reserve_counts()
3137 hugetlb_acct_memory(h, -rsv_adjust); in alloc_hugetlb_folio()
4773 static int hugetlb_acct_memory(struct hstate *h, long delta) in hugetlb_acct_memory() function
4886 hugetlb_acct_memory(h, -gbl_reserve); in hugetlb_vm_op_close()
6785 if (hugetlb_acct_memory(h, gbl_reserve) < 0) in hugetlb_reserve_pages()
6803 hugetlb_acct_memory(h, -gbl_reserve); in hugetlb_reserve_pages()
6825 hugetlb_acct_memory(h, -rsv_adjust); in hugetlb_reserve_pages()
[all …]
/openbmc/linux/Documentation/mm/
H A Dhugetlbfs_reserv.rst150 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