Home
last modified time | relevance | path

Searched refs:min_hpages (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/Documentation/translations/zh_CN/mm/
Dhugetlbfs_reserv.rst245 hugepage_subpool的min_hpages字段中被跟踪。在挂载时,hugetlb_acct_memory(min_hpages)
/Linux-v6.6/fs/hugetlbfs/
Dinode.c55 long min_hpages; member
1196 if (spool->min_hpages != -1) in hugetlbfs_show_options()
1198 (unsigned long long)spool->min_hpages << hpage_shift); in hugetlbfs_show_options()
1477 ctx->min_hpages = hugetlbfs_size_to_hpages(ctx->hstate, in hugetlbfs_validate()
1485 ctx->min_hpages > ctx->max_hpages) { in hugetlbfs_validate()
1517 if (ctx->max_hpages != -1 || ctx->min_hpages != -1) { in hugetlbfs_fill_super()
1520 ctx->min_hpages); in hugetlbfs_fill_super()
1579 ctx->min_hpages = -1; /* No default minimum size */ in hugetlbfs_init_fs_context()
/Linux-v6.6/mm/
Dhugetlb.c108 if (spool->min_hpages != -1) in subpool_is_free()
109 return spool->rsv_hpages == spool->min_hpages; in subpool_is_free()
123 if (spool->min_hpages != -1) in unlock_or_release_subpool()
125 -spool->min_hpages); in unlock_or_release_subpool()
131 long min_hpages) in hugepage_new_subpool() argument
143 spool->min_hpages = min_hpages; in hugepage_new_subpool()
145 if (min_hpages != -1 && hugetlb_acct_memory(h, min_hpages)) { in hugepage_new_subpool()
149 spool->rsv_hpages = min_hpages; in hugepage_new_subpool()
192 if (spool->min_hpages != -1 && spool->rsv_hpages) { in hugepage_subpool_get_pages()
232 if (spool->min_hpages != -1 && spool->used_hpages < spool->min_hpages) { in hugepage_subpool_put_pages()
[all …]
/Linux-v6.6/include/linux/
Dhugetlb.h51 long min_hpages; /* Minimum huge pages or -1 if no minimum. */ member
125 long min_hpages);
/Linux-v6.6/Documentation/mm/
Dhugetlbfs_reserv.rst310 the min_hpages field of a struct hugepage_subpool. At mount time,
311 hugetlb_acct_memory(min_hpages) is called to reserve the specified number of