Home
last modified time | relevance | path

Searched refs:cpus_allowed (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/kernel/cgroup/
Dcpuset.c139 cpumask_var_t cpus_allowed; member
579 return cpumask_subset(p->cpus_allowed, q->cpus_allowed) && in is_cpuset_subset()
598 pmask1 = &cs->cpus_allowed; in alloc_cpumasks()
633 free_cpumask_var(cs->cpus_allowed); in free_cpumasks()
661 cpumask_copy(trial->cpus_allowed, cs->cpus_allowed); in alloc_trial_cpuset()
750 if (!cpumask_empty(cur->cpus_allowed) && in validate_change()
751 cpumask_empty(trial->cpus_allowed)) in validate_change()
764 !cpuset_cpumask_can_shrink(cur->cpus_allowed, in validate_change()
765 trial->cpus_allowed)) in validate_change()
776 cpumask_intersects(trial->cpus_allowed, c->cpus_allowed)) in validate_change()
[all …]
/linux-6.1.9/arch/mips/kernel/
Dmips-mt-fpaff.c68 cpumask_var_t cpus_allowed, new_mask, effective_mask; in mipsmt_sys_sched_setaffinity() local
93 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) { in mipsmt_sys_sched_setaffinity()
131 cpuset_cpus_allowed(p, cpus_allowed); in mipsmt_sys_sched_setaffinity()
132 if (!cpumask_subset(effective_mask, cpus_allowed)) { in mipsmt_sys_sched_setaffinity()
138 cpumask_copy(new_mask, cpus_allowed); in mipsmt_sys_sched_setaffinity()
147 free_cpumask_var(cpus_allowed); in mipsmt_sys_sched_setaffinity()
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/
Dspufs.h111 cpumask_t cpus_allowed; member
Dsched.c131 cpumask_copy(&ctx->cpus_allowed, current->cpus_ptr); in __spu_update_sched_info()
160 if (cpumask_intersects(mask, &ctx->cpus_allowed)) in __node_allowed()
/linux-6.1.9/kernel/sched/
Dcore.c8142 cpumask_var_t cpus_allowed, new_mask; in __sched_setaffinity() local
8144 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) in __sched_setaffinity()
8152 cpuset_cpus_allowed(p, cpus_allowed); in __sched_setaffinity()
8153 cpumask_and(new_mask, mask, cpus_allowed); in __sched_setaffinity()
8163 cpuset_cpus_allowed(p, cpus_allowed); in __sched_setaffinity()
8164 if (!cpumask_subset(new_mask, cpus_allowed)) { in __sched_setaffinity()
8169 cpumask_copy(new_mask, cpus_allowed); in __sched_setaffinity()
8176 free_cpumask_var(cpus_allowed); in __sched_setaffinity()
/linux-6.1.9/Documentation/admin-guide/cgroup-v1/
Dcpusets.rst61 schedule a task on a CPU that is not allowed in its cpus_allowed
161 displaying the task's cpus_allowed (on which CPUs it may be scheduled)
497 (makes sure that all the CPUs in the cpus_allowed of that cpuset are
675 their cpus_allowed to allow all online CPUs. When memory hotplug