Home
last modified time | relevance | path

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

/linux/Documentation/translations/zh_CN/filesystems/
H 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/
H 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/include/linux/
H A Dmempolicy.h124 void mpol_shared_policy_init(struct shared_policy *sp, struct mempolicy *mpol);
126 struct vm_area_struct *vma, struct mempolicy *mpol);
145 struct mempolicy **mpol, nodemask_t **nodemask);
164 extern int mpol_parse_str(char *str, struct mempolicy **mpol);
215 struct mempolicy *mpol) in mpol_shared_policy_init() argument
261 struct mempolicy **mpol, nodemask_t **nodemask) in huge_node() argument
263 *mpol = NULL; in huge_node()
284 static inline int mpol_parse_str(char *str, struct mempolicy **mpol) in mpol_parse_str() argument
/linux/mm/
H A Dswap_state.c411 struct mempolicy *mpol, pgoff_t ilx) in __swap_cache_alloc()
438 if (mpol || !vmf) { in __swap_cache_alloc()
439 folio = folio_alloc_mpol(gfp, order, mpol, ilx, numa_node_id()); in __swap_cache_alloc()
502 * @mpol: NUMA memory allocation policy to be applied
515 struct mempolicy *mpol, pgoff_t ilx) in swap_cache_alloc_folio()
530 vmf, mpol, ilx); in swap_cache_alloc_folio()
642 struct mempolicy *mpol, pgoff_t ilx, in swap_cache_read_folio()
651 folio = swap_cache_alloc_folio(entry, gfp, BIT(0), NULL, mpol, ilx); in swap_cache_read_folio()
672 * @mpol: NUMA memory allocation policy to be applied
683 struct vm_fault *vmf, struct mempolicy *mpol, pgoff_ in swapin_sync()
406 __swap_cache_alloc(struct swap_cluster_info * ci,swp_entry_t targ_entry,gfp_t gfp,unsigned int order,struct vm_fault * vmf,struct mempolicy * mpol,pgoff_t ilx) __swap_cache_alloc() argument
510 swap_cache_alloc_folio(swp_entry_t targ_entry,gfp_t gfp,unsigned long orders,struct vm_fault * vmf,struct mempolicy * mpol,pgoff_t ilx) swap_cache_alloc_folio() argument
637 swap_cache_read_folio(swp_entry_t entry,gfp_t gfp,struct mempolicy * mpol,pgoff_t ilx,struct swap_iocb ** plug,bool readahead) swap_cache_read_folio() argument
678 swapin_sync(swp_entry_t entry,gfp_t gfp,unsigned long orders,struct vm_fault * vmf,struct mempolicy * mpol,pgoff_t ilx) swapin_sync() argument
707 struct mempolicy *mpol; read_swap_cache_async() local
803 swap_cluster_readahead(swp_entry_t entry,gfp_t gfp_mask,struct mempolicy * mpol,pgoff_t ilx) swap_cluster_readahead() argument
900 swap_vma_readahead(swp_entry_t targ_entry,gfp_t gfp_mask,struct mempolicy * mpol,pgoff_t targ_ilx,struct vm_fault * vmf) swap_vma_readahead() argument
977 struct mempolicy *mpol; swapin_readahead() local
[all...]
H A Dslub.c4612 struct mempolicy *mpol = current->mempolicy; in apply_strict_numa_policy() local
4614 if (mpol) { in apply_strict_numa_policy()
4622 if (mpol->mode != MPOL_BIND || in apply_strict_numa_policy()
4623 !node_isset(numa_mem_id(), mpol->nodes)) in apply_strict_numa_policy()
/linux/kernel/futex/
H A Dcore.c294 struct mempolicy *mpol; in __futex_key_to_node()
300 mpol = READ_ONCE(vma->vm_policy); in __futex_key_to_node()
301 if (!mpol) in __futex_key_to_node()
304 switch (mpol->mode) { in __futex_key_to_node()
306 node = first_node(mpol->nodes); in __futex_key_to_node()
310 if (mpol->home_node != NUMA_NO_NODE) in __futex_key_to_node()
311 node = mpol->home_node; in __futex_key_to_node()
293 struct mempolicy *mpol; __futex_key_to_node() local
/linux/virt/kvm/
H A Dguest_memfd.c433 static int kvm_gmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in kvm_gmem_set_policy() argument
437 return mpol_set_shared_policy(&GMEM_I(inode)->policy, vma, mpol); in kvm_gmem_set_policy()