Searched refs:mpol (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/Documentation/translations/zh_CN/filesystems/ |
A D | tmpfs.rst | 76 mpol=default 采用进程分配策略 78 mpol=prefer:Node 倾向从给定的节点分配 79 mpol=bind:NodeList 只允许从指定的链表分配 80 mpol=interleave 倾向于依次从每个节点分配 81 mpol=interleave:NodeList 依次从每个节点分配 82 mpol=local 优先本地节点分配内存 86 分隔符的十进制数来表示。例如,mpol=bind0-3,5,7,9-15 104 例如,mpol=bind=staticNodeList相当于MPOL_BIND|MPOL_F_STATIC_NODES的分配策略 106 请注意,如果内核不支持NUMA,那么使用mpol选项挂载tmpfs将会失败;nodelist指定不 108 revocery内核),或者具有较少的节点在线,建议从自动模式中省略mpol选项挂载选项。 [all …]
|
/linux-6.3-rc2/Documentation/translations/zh_TW/filesystems/ |
A D | tmpfs.rst | 77 mpol=default 採用進程分配策略 79 mpol=prefer:Node 傾向從給定的節點分配 80 mpol=bind:NodeList 只允許從指定的鍊表分配 81 mpol=interleave 傾向於依次從每個節點分配 82 mpol=interleave:NodeList 依次從每個節點分配 83 mpol=local 優先本地節點分配內存 87 分隔符的十進位數來表示。例如,mpol=bind0-3,5,7,9-15 105 例如,mpol=bind=staticNodeList相當於MPOL_BIND|MPOL_F_STATIC_NODES的分配策略 107 請注意,如果內核不支持NUMA,那麼使用mpol選項掛載tmpfs將會失敗;nodelist指定不 109 revocery內核),或者具有較少的節點在線,建議從自動模式中省略mpol選項掛載選項。 [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | mempolicy.h | 128 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol); 148 struct mempolicy **mpol, nodemask_t **nodemask); 169 extern int mpol_parse_str(char *str, struct mempolicy **mpol); 211 struct mempolicy *mpol) in mpol_shared_policy_init() argument 252 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 254 *mpol = NULL; in huge_node() 275 static inline int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
|
A D | shmem_fs.h | 50 struct mempolicy *mpol; /* default memory policy for mappings */ member
|
/linux-6.3-rc2/Documentation/filesystems/ |
A D | tmpfs.rst | 94 mpol=default use the process allocation policy 96 mpol=prefer:Node prefers to allocate memory from the given Node 97 mpol=bind:NodeList allocates memory only from nodes in NodeList 98 mpol=interleave prefers to allocate from each node in turn 99 mpol=interleave:NodeList allocates from each node of NodeList in turn 100 mpol=local prefers to allocate memory from the local node 105 largest node numbers in the range. For example, mpol=bind:0-3,5,7,9-15 127 For example, mpol=bind=static:NodeList, is the equivalent of an 130 Note that trying to mount a tmpfs with an mpol option will fail if the 135 online, then it is advisable to omit the mpol option from automatic [all …]
|
/linux-6.3-rc2/mm/ |
A D | shmem.c | 1456 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol() 1469 mpol = sbinfo->mpol; in shmem_get_sbmpol() 1470 mpol_get(mpol); in shmem_get_sbmpol() 1473 return mpol; in shmem_get_sbmpol() 3683 if (ctx->mpol) { in shmem_reconfigure() 3684 mpol = sbinfo->mpol; in shmem_reconfigure() 3685 sbinfo->mpol = ctx->mpol; /* transfers initial ref */ in shmem_reconfigure() 3686 ctx->mpol = NULL; in shmem_reconfigure() 3689 mpol_put(mpol); in shmem_reconfigure() 3805 sbinfo->mpol = ctx->mpol; in shmem_fill_super() [all …]
|
A D | mempolicy.c | 2015 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument 2020 *mpol = get_vma_policy(vma, addr); in huge_node() 2022 mode = (*mpol)->mode; in huge_node() 2025 nid = interleave_nid(*mpol, vma, addr, in huge_node() 2028 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node() 2030 *nodemask = &(*mpol)->nodes; in huge_node() 2778 if (mpol) { in mpol_shared_policy_init() 2786 new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); in mpol_shared_policy_init() 2806 mpol_put(mpol); /* drop our incoming ref on sb mpol */ in mpol_shared_policy_init() 2985 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument [all …]
|
A D | hugetlb.c | 1357 struct mempolicy *mpol; in dequeue_hugetlb_folio_vma() local 1377 if (mpol_is_preferred_many(mpol)) { in dequeue_hugetlb_folio_vma() 1394 mpol_cond_put(mpol); in dequeue_hugetlb_folio_vma() 2453 struct mempolicy *mpol; in alloc_buddy_hugetlb_folio_with_mpol() local 2459 if (mpol_is_preferred_many(mpol)) { in alloc_buddy_hugetlb_folio_with_mpol() 2471 mpol_cond_put(mpol); in alloc_buddy_hugetlb_folio_with_mpol() 2499 struct mempolicy *mpol; in alloc_hugetlb_folio_vma() local 2508 mpol_cond_put(mpol); in alloc_hugetlb_folio_vma() 4526 if (mpol->mode == MPOL_BIND && in policy_mbind_nodemask() 4527 (apply_policy_zone(mpol, gfp_zone(gfp)) && in policy_mbind_nodemask() [all …]
|
Completed in 29 milliseconds