Searched refs:cpus_allowed (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/kernel/cgroup/ |
D | cpuset.c | 114 cpumask_var_t cpus_allowed; member 496 return cpumask_subset(p->cpus_allowed, q->cpus_allowed) && in is_cpuset_subset() 515 pmask1 = &cs->cpus_allowed; in alloc_cpumasks() 550 free_cpumask_var(cs->cpus_allowed); in free_cpumasks() 578 cpumask_copy(trial->cpus_allowed, cs->cpus_allowed); in alloc_trial_cpuset() 669 cpumask_intersects(trial->cpus_allowed, c->cpus_allowed)) in validate_change() 683 if (!cpumask_empty(cur->cpus_allowed) && in validate_change() 684 cpumask_empty(trial->cpus_allowed)) in validate_change() 697 !cpuset_cpumask_can_shrink(cur->cpus_allowed, in validate_change() 698 trial->cpus_allowed)) in validate_change() [all …]
|
/linux-5.19.10/arch/mips/kernel/ |
D | mips-mt-fpaff.c | 68 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-5.19.10/arch/powerpc/platforms/cell/spufs/ |
D | spufs.h | 111 cpumask_t cpus_allowed; member
|
D | sched.c | 131 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-5.19.10/kernel/sched/ |
D | core.c | 8058 cpumask_var_t cpus_allowed, new_mask; in __sched_setaffinity() local 8060 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) in __sched_setaffinity() 8068 cpuset_cpus_allowed(p, cpus_allowed); in __sched_setaffinity() 8069 cpumask_and(new_mask, mask, cpus_allowed); in __sched_setaffinity() 8079 cpuset_cpus_allowed(p, cpus_allowed); in __sched_setaffinity() 8080 if (!cpumask_subset(new_mask, cpus_allowed)) { in __sched_setaffinity() 8085 cpumask_copy(new_mask, cpus_allowed); in __sched_setaffinity() 8092 free_cpumask_var(cpus_allowed); in __sched_setaffinity()
|
/linux-5.19.10/Documentation/admin-guide/cgroup-v1/ |
D | cpusets.rst | 61 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
|