Home
last modified time | relevance | path

Searched refs:mpol (Results 1 – 8 of 8) sorted by relevance

/linux/Documentation/translations/zh_CN/filesystems/
A Dtmpfs.rst76 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/Documentation/translations/zh_TW/filesystems/
A Dtmpfs.rst77 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/include/linux/
A Dmempolicy.h127 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol);
147 struct mempolicy **mpol, nodemask_t **nodemask);
155 struct mempolicy *mpol = get_task_policy(current); in policy_nodemask_current() local
157 return policy_nodemask(gfp, mpol); in policy_nodemask_current()
175 extern int mpol_parse_str(char *str, struct mempolicy **mpol);
216 struct mempolicy *mpol) in mpol_shared_policy_init() argument
257 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument
259 *mpol = NULL; in huge_node()
280 static inline int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
A Dshmem_fs.h43 struct mempolicy *mpol; /* default memory policy for mappings */ member
/linux/Documentation/filesystems/
A Dtmpfs.rst94 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/mm/
A Dshmem.c1460 if (!mpol || mpol->mode == MPOL_DEFAULT) in shmem_show_mpol()
1473 mpol = sbinfo->mpol; in shmem_get_sbmpol()
1474 mpol_get(mpol); in shmem_get_sbmpol()
1477 return mpol; in shmem_get_sbmpol()
3527 if (ctx->mpol) { in shmem_reconfigure()
3528 mpol = sbinfo->mpol; in shmem_reconfigure()
3529 sbinfo->mpol = ctx->mpol; /* transfers initial ref */ in shmem_reconfigure()
3530 ctx->mpol = NULL; in shmem_reconfigure()
3533 mpol_put(mpol); in shmem_reconfigure()
3649 sbinfo->mpol = ctx->mpol; in shmem_fill_super()
[all …]
A Dmempolicy.c1935 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument
1940 *mpol = get_vma_policy(vma, addr); in huge_node()
1942 mode = (*mpol)->mode; in huge_node()
1945 nid = interleave_nid(*mpol, vma, addr, in huge_node()
1948 nid = policy_node(gfp_flags, *mpol, numa_node_id()); in huge_node()
1950 *nodemask = &(*mpol)->nodes; in huge_node()
2682 if (mpol) { in mpol_shared_policy_init()
2690 new = mpol_new(mpol->mode, mpol->flags, &mpol->w.user_nodemask); in mpol_shared_policy_init()
2710 mpol_put(mpol); /* drop our incoming ref on sb mpol */ in mpol_shared_policy_init()
2889 int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
[all …]
A Dhugetlb.c1190 struct mempolicy *mpol; in dequeue_huge_page_vma() local
1209 nid = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in dequeue_huge_page_vma()
1211 if (mpol_is_preferred_many(mpol)) { in dequeue_huge_page_vma()
1226 mpol_cond_put(mpol); in dequeue_huge_page_vma()
2254 struct mempolicy *mpol; in alloc_buddy_huge_page_with_mpol() local
2259 nid = huge_node(vma, addr, gfp_mask, &mpol, &nodemask); in alloc_buddy_huge_page_with_mpol()
2260 if (mpol_is_preferred_many(mpol)) { in alloc_buddy_huge_page_with_mpol()
2272 mpol_cond_put(mpol); in alloc_buddy_huge_page_with_mpol()
2299 struct mempolicy *mpol; in alloc_huge_page_vma() local
2306 node = huge_node(vma, address, gfp_mask, &mpol, &nodemask); in alloc_huge_page_vma()
[all …]

Completed in 68 milliseconds