/linux/include/linux/ |
A D | mempolicy.h | 44 struct mempolicy { struct 83 extern struct mempolicy *__mpol_dup(struct mempolicy *pol); 84 static inline struct mempolicy *mpol_dup(struct mempolicy *pol) in mpol_dup() 99 extern bool __mpol_equal(struct mempolicy *a, struct mempolicy *b); 100 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal() 118 struct mempolicy *policy; 130 struct mempolicy *new); 194 struct mempolicy {}; struct 196 static inline bool mpol_equal(struct mempolicy *a, struct mempolicy *b) in mpol_equal() 216 struct mempolicy *mpol) in mpol_shared_policy_init() [all …]
|
A D | shmem_fs.h | 43 struct mempolicy *mpol; /* default memory policy for mappings */
|
A D | sched.h | 52 struct mempolicy; 1229 struct mempolicy *mempolicy; member
|
A D | mm_types.h | 461 struct mempolicy *vm_policy; /* NUMA policy for the VMA */
|
A D | mm.h | 36 struct mempolicy; 625 int (*set_policy)(struct vm_area_struct *vma, struct mempolicy *new); 637 struct mempolicy *(*get_policy)(struct vm_area_struct *vma, 2661 struct mempolicy *, struct vm_userfaultfd_ctx);
|
/linux/mm/ |
A D | mempolicy.c | 160 struct mempolicy *pol = p->mempolicy; in get_task_policy() 754 struct mempolicy *old; in vma_replace_policy() 926 struct mempolicy *pol = current->mempolicy, *pol_refcount = NULL; in do_get_mempolicy() 1973 struct mempolicy *mempolicy; in init_nodemask_of_mempolicy() local 1979 mempolicy = current->mempolicy; in init_nodemask_of_mempolicy() 2014 struct mempolicy *mempolicy; in mempolicy_in_oom_domain() local 2021 mempolicy = tsk->mempolicy; in mempolicy_in_oom_domain() 2022 if (mempolicy && mempolicy->mode == MPOL_BIND) in mempolicy_in_oom_domain() 2312 struct mempolicy *__mpol_dup(struct mempolicy *old) in __mpol_dup() 2336 bool __mpol_equal(struct mempolicy *a, struct mempolicy *b) in __mpol_equal() [all …]
|
A D | .mempolicy.o.cmd | 1 …mempolicy.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch64/bi… 3 source_mm/mempolicy.o := mm/mempolicy.c 5 deps_mm/mempolicy.o := \ 29 include/linux/mempolicy.h \ 1089 include/uapi/linux/mempolicy.h \ 1280 mm/mempolicy.o: $(deps_mm/mempolicy.o) 1282 $(deps_mm/mempolicy.o):
|
A D | built-in.a | 55 mempolicy.o/
|
A D | .built-in.a.cmd | 1 …swap_state.o mm/swapfile.o mm/swap_slots.o mm/dmapool.o mm/hugetlb.o mm/mempolicy.o mm/sparse.o mm…
|
A D | shmem.c | 111 struct mempolicy *mpol; 1456 static void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() 1468 static struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) in shmem_get_sbmpol() 1470 struct mempolicy *mpol = NULL; in shmem_get_sbmpol() 1480 static inline void shmem_show_mpol(struct seq_file *seq, struct mempolicy *mpol) in shmem_show_mpol() 1483 static inline struct mempolicy *shmem_get_sbmpol(struct shmem_sb_info *sbinfo) in shmem_get_sbmpol() 2211 static int shmem_set_policy(struct vm_area_struct *vma, struct mempolicy *mpol) in shmem_set_policy() 2217 static struct mempolicy *shmem_get_policy(struct vm_area_struct *vma, in shmem_get_policy() 3480 struct mempolicy *mpol = NULL; in shmem_reconfigure()
|
A D | Makefile | 79 obj-$(CONFIG_NUMA) += mempolicy.o
|
A D | .balloon_compaction.o.cmd | 1088 include/linux/mempolicy.h \ 1090 include/uapi/linux/mempolicy.h \
|
/linux/fs/proc/ |
A D | internal.h | 18 struct mempolicy; 296 struct mempolicy *task_mempolicy;
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | mm-api.rst | 104 mm/mempolicy.c
|
/linux/Documentation/admin-guide/mm/ |
A D | hugetlbpage.rst | 293 sysctl or attribute. When the ``nr_hugepages`` attribute is used, mempolicy 315 #. Regardless of mempolicy mode [see 318 specified in the mempolicy as if "interleave" had been specified. 334 Any of the other mempolicy modes may be used to specify a single node. 336 #. The nodes allowed mask will be derived from any non-default task mempolicy, 343 #. Any task mempolicy specified--e.g., using numactl--will be constrained by 375 resources exist, regardless of the task's mempolicy or cpuset constraints. 378 as we don't know until fault time, when the faulting task's mempolicy is
|
A D | numa_memory_policy.rst | 172 structure, struct mempolicy. Details of this structure will be 209 preferred_node member of struct mempolicy. When the internal 262 Without this flag, any time a mempolicy is rebound because of a 294 mempolicy is rebound because of a change in the set of allowed 314 if not already set, sets the node in the mempolicy nodemask. 340 To resolve use/free races, struct mempolicy contains an atomic reference 343 the structure back to the mempolicy kmem cache when the reference count 420 definitions are defined in <linux/mempolicy.h>.
|
/linux/Documentation/core-api/ |
A D | mm-api.rst | 95 .. kernel-doc:: mm/mempolicy.c
|
/linux/fs/kernfs/ |
A D | file.c | 396 struct mempolicy *new) in kernfs_vma_set_policy() 416 static struct mempolicy *kernfs_vma_get_policy(struct vm_area_struct *vma, in kernfs_vma_get_policy() 421 struct mempolicy *pol; in kernfs_vma_get_policy()
|
/linux/kernel/ |
A D | fork.c | 2122 p->mempolicy = mpol_dup(p->mempolicy); in copy_process() 2123 if (IS_ERR(p->mempolicy)) { in copy_process() 2124 retval = PTR_ERR(p->mempolicy); in copy_process() 2125 p->mempolicy = NULL; in copy_process() 2462 mpol_put(p->mempolicy); in copy_process()
|
A D | .workqueue.o.cmd | 1021 include/linux/mempolicy.h \ 1136 include/uapi/linux/mempolicy.h \
|
/linux/kernel/sched/ |
A D | debug.c | 934 struct mempolicy *pol; in sched_show_numa() 940 pol = p->mempolicy; in sched_show_numa()
|
/linux/ipc/ |
A D | shm.c | 549 static int shm_set_policy(struct vm_area_struct *vma, struct mempolicy *new) in shm_set_policy() 560 static struct mempolicy *shm_get_policy(struct vm_area_struct *vma, in shm_get_policy() 565 struct mempolicy *pol = NULL; in shm_get_policy()
|
/linux/Documentation/admin-guide/cgroup-v1/ |
A D | cpusets.rst | 342 except perhaps as modified by the task's NUMA mempolicy or cpuset 349 or slab caches to ignore the task's NUMA mempolicy and be spread 353 is turned off, then the currently specified NUMA mempolicy once again 626 mempolicy MPOL_BIND, and the nodes to which it was bound overlap with
|
/linux/fs/ |
A D | .binfmt_elf.o.cmd | 1158 include/linux/mempolicy.h \ 1161 include/uapi/linux/mempolicy.h \
|
A D | .compat_binfmt_elf.o.cmd | 1161 include/linux/mempolicy.h \ 1164 include/uapi/linux/mempolicy.h \
|