Home
last modified time | relevance | path

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

/linux/kernel/cgroup/
H A Dcpuset-v1.c265 nodes_empty(parent->mems_allowed)) in remove_tasks_in_empty_cpuset()
294 cs->mems_allowed = *new_mems; in cpuset1_hotplug_update_tasks()
304 if (mems_updated && !nodes_empty(cs->mems_allowed)) in cpuset1_hotplug_update_tasks()
308 nodes_empty(cs->mems_allowed); in cpuset1_hotplug_update_tasks()
342 nodes_subset(p->mems_allowed, q->mems_allowed) && in is_cpuset_subset()
373 * be changed to have empty cpus_allowed or mems_allowed. in cpuset1_validate_change()
380 if (!nodes_empty(cur->mems_allowed) && in cpuset1_validate_change()
381 nodes_empty(trial->mems_allowed)) in cpuset1_validate_change()
582 cs->mems_allowed in cpuset1_online_css()
[all...]
H A Dcpuset.c108 * Now, the task_struct fields mems_allowed and mempolicy may be changed
489 * Return in *pmask the portion of a cpusets's mems_allowed that
683 return nodes_intersects(cs1->mems_allowed, cs2->mems_allowed); in mems_excl_conflict()
701 * perhaps one or more of the fields cpus_allowed, mems_allowed,
2537 /* on a wq worker, no need to worry about %current's mems_allowed */ in cpuset_migrate_mm_workfn()
2586 * cpuset_change_task_nodemask - change task's mems_allowed and mempolicy
2590 * We use the mems_allowed_seq seqlock to safely update both tsk->mems_allowed
2603 nodes_or(tsk->mems_allowed, tsk->mems_allowed, *newmem in cpuset_change_task_nodemask()
[all...]
H A Dcpuset-internal.h102 nodemask_t mems_allowed; member
/linux/Documentation/driver-api/cxl/allocation/
H A Dreclaim.rst24 cpusets.mems_allowed quirk
26 In Linux v6.15 and below, demotion does not respect :code:`cpusets.mems_allowed`
28 guarantee isolation of a container's memory from nodes not set in mems_allowed.
31 :code:`cpusets.mems_allowed`; however, certain classes of shared memory
33 libc) may still be demoted. As a result, the mems_allowed interface still
H A Dpage-allocator.rst47 in :code:`ZONE_NORMAL`), the :code:`cpusets.mems_allowed` may be used by
/linux/include/linux/
H A Dcpuset.h84 #define cpuset_current_mems_allowed (current->mems_allowed)
173 current->mems_allowed = nodemask; in set_mems_allowed()
H A Dsched.h1235 /* Protection against (de-)allocation: mm, files, fs, tty, keyrings, mems_allowed, mempolicy: */
1334 nodemask_t mems_allowed;
1319 nodemask_t mems_allowed; global() member
/linux/Documentation/admin-guide/cgroup-v1/
H A Dcpusets.rst63 node that is not allowed in the requesting task's mems_allowed vector.
162 and mems_allowed (on which Memory Nodes it may obtain memory),
376 node in the current task's mems_allowed to prefer for the allocation.