Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/cgroup/ !
Dcpuset.c116 cpumask_var_t cpus_allowed; member
583 return cpumask_subset(p->cpus_allowed, q->cpus_allowed) && in is_cpuset_subset()
602 pmask1 = &cs->cpus_allowed; in alloc_cpumasks()
637 free_cpumask_var(cs->cpus_allowed); in free_cpumasks()
665 cpumask_copy(trial->cpus_allowed, cs->cpus_allowed); in alloc_trial_cpuset()
754 if (!cpumask_empty(cur->cpus_allowed) && in validate_change()
755 cpumask_empty(trial->cpus_allowed)) in validate_change()
768 !cpuset_cpumask_can_shrink(cur->cpus_allowed, in validate_change()
769 trial->cpus_allowed)) in validate_change()
780 cpumask_intersects(trial->cpus_allowed, c->cpus_allowed)) in validate_change()
[all …]
/linux-6.6.21/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.6.21/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.6.21/kernel/sched/ !
Dcore.c8308 cpumask_var_t cpus_allowed, new_mask; in __sched_setaffinity() local
8310 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) in __sched_setaffinity()
8318 cpuset_cpus_allowed(p, cpus_allowed); in __sched_setaffinity()
8319 cpumask_and(new_mask, ctx->new_mask, cpus_allowed); in __sched_setaffinity()
8332 cpuset_cpus_allowed(p, cpus_allowed); in __sched_setaffinity()
8333 if (!cpumask_subset(new_mask, cpus_allowed)) { in __sched_setaffinity()
8338 cpumask_copy(new_mask, cpus_allowed); in __sched_setaffinity()
8353 cpumask_copy(new_mask, cpus_allowed); in __sched_setaffinity()
8362 free_cpumask_var(cpus_allowed); in __sched_setaffinity()
/linux-6.6.21/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