Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/kernel/cgroup/
Dcpuset.c108 cpumask_var_t cpus_allowed; member
471 pmask1 = &cs->cpus_allowed; in alloc_cpumasks()
512 free_cpumask_var(cs->cpus_allowed); in free_cpumasks()
541 cpumask_copy(trial->cpus_allowed, cs->cpus_allowed); in alloc_trial_cpuset()
626 if (!cpumask_empty(cur->cpus_allowed) && in validate_change()
627 cpumask_empty(trial->cpus_allowed)) in validate_change()
640 !cpuset_cpumask_can_shrink(cur->cpus_allowed, in validate_change()
641 trial->cpus_allowed)) in validate_change()
677 if (cpumask_empty(cp->cpus_allowed)) { in update_domain_attr_tree()
806 if (!cpumask_empty(cp->cpus_allowed) && in generate_sched_domains()
[all …]
/kernel/linux/common_modules/tzdriver/core/
Dsmc_smp.h24 #define CURRENT_CPUS_ALLOWED (&current->cpus_allowed)
/kernel/linux/patches/linux-5.10/yangfan_patch/
Dkernel.patch235 - * Return in pmask the portion of a cpusets's cpus_allowed that
238 + * Return in pmask the portion of a task's cpusets's cpus_allowed that
333 * @cs: the cpuset in which each task's cpus_allowed mask needs to be changed
510 cpumask_copy(cs->effective_cpus, parent->cpus_allowed);
572 BUG_ON(!alloc_cpumask_var(&top_cpuset.cpus_allowed, GFP_KERNEL));
575 is_empty = cpumask_empty(cs->cpus_allowed) ||
676 - task_cs(tsk)->cpus_allowed : cpu_possible_mask);
677 + cs_mask = task_cs(tsk)->cpus_allowed;
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/kernel/sched/
Dcore.c6118 cpumask_var_t cpus_allowed, new_mask; in sched_setaffinity() local
6142 if (!alloc_cpumask_var(&cpus_allowed, GFP_KERNEL)) { in sched_setaffinity()
6165 cpuset_cpus_allowed(p, cpus_allowed); in sched_setaffinity()
6166 cpumask_and(new_mask, in_mask, cpus_allowed); in sched_setaffinity()
6193 cpuset_cpus_allowed(p, cpus_allowed); in sched_setaffinity()
6194 if (!cpumask_subset(new_mask, cpus_allowed)) { in sched_setaffinity()
6200 cpumask_copy(new_mask, cpus_allowed); in sched_setaffinity()
6213 free_cpumask_var(cpus_allowed); in sched_setaffinity()
/kernel/linux/linux-5.10/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