Home
last modified time | relevance | path

Searched refs:nr_cpus_allowed (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/kernel/sched/
Ddeadline.c573 if (p->nr_cpus_allowed > 1) in inc_dl_migration()
583 if (p->nr_cpus_allowed > 1) in dec_dl_migration()
1741 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_dl()
1842 (curr->nr_cpus_allowed < 2 || in select_task_rq_dl()
1844 p->nr_cpus_allowed > 1; in select_task_rq_dl()
1905 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_dl()
1913 if (p->nr_cpus_allowed != 1 && in check_preempt_equal_dl()
2044 if (on_dl_rq(&p->dl) && p->nr_cpus_allowed > 1) in put_prev_task_dl()
2133 if (task->nr_cpus_allowed == 1) in find_later_rq()
2275 WARN_ON_ONCE(p->nr_cpus_allowed <= 1); in pick_next_pushable_dl_task()
[all …]
Drt.c389 if (p->nr_cpus_allowed > 1) in inc_rt_migration()
406 if (p->nr_cpus_allowed > 1) in dec_rt_migration()
1551 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_rt()
1646 (curr->nr_cpus_allowed < 2 || curr->prio <= p->prio); in select_task_rq_rt()
1680 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_prio()
1688 if (p->nr_cpus_allowed != 1 && in check_preempt_equal_prio()
1844 if (on_rt_rq(&p->rt) && p->nr_cpus_allowed > 1) in put_prev_task_rt()
1896 if (task->nr_cpus_allowed == 1) in find_lowest_rq()
2048 BUG_ON(p->nr_cpus_allowed <= 1); in pick_next_pushable_task()
2478 p->nr_cpus_allowed > 1 && in task_woken_rt()
[all …]
Didle.c346 WARN_ON_ONCE(current->nr_cpus_allowed != 1); in play_idle_precise()
Dsched.h2385 if (p->nr_cpus_allowed == 1) in get_push_task()
3265 if (p->nr_cpus_allowed != 1) in is_per_cpu_kthread()
Dcore.c2740 p->nr_cpus_allowed = cpumask_weight(ctx->new_mask); in set_cpus_allowed_common()
3634 if (p->nr_cpus_allowed > 1 && !is_migration_disabled(p)) in select_task_rq()
11833 atomic_read(&mm->mm_users) >= t->nr_cpus_allowed) in sched_mm_cid_migrate_to()
Dfair.c5003 if (!p || p->nr_cpus_allowed == 1) { in update_misfit_status()
10329 if (p->nr_cpus_allowed != NR_CPUS) { in find_idlest_group()
/linux-6.6.21/init/
Dinit_task.c85 .nr_cpus_allowed= NR_CPUS,
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Daffinity.c1008 if (current->nr_cpus_allowed == 1) { in hfi1_get_proc_affinity()
1019 } else if (current->nr_cpus_allowed < cpumask_weight(&set->mask)) { in hfi1_get_proc_affinity()
Dsdma.c838 if (current->nr_cpus_allowed != 1) in sdma_select_user_engine()
/linux-6.6.21/include/linux/
Dsched.h834 int nr_cpus_allowed; member
1792 (current->nr_cpus_allowed == 1); in is_percpu_thread()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_file_ops.c1144 const unsigned int weight = current->nr_cpus_allowed; in assign_ctxt_affinity()
1626 const unsigned int weight = current->nr_cpus_allowed; in qib_assign_ctxt()
/linux-6.6.21/kernel/trace/
Dtrace_osnoise.c2423 if (current->nr_cpus_allowed > 1 || cpu != smp_processor_id()) { in timerlat_fd_open()