Home
last modified time | relevance | path

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

/Linux-v6.6/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.c385 if (p->nr_cpus_allowed > 1) in inc_rt_migration()
402 if (p->nr_cpus_allowed > 1) in dec_rt_migration()
1547 if (!task_current(rq, p) && p->nr_cpus_allowed > 1) in enqueue_task_rt()
1642 (curr->nr_cpus_allowed < 2 || curr->prio <= p->prio); in select_task_rq_rt()
1676 if (rq->curr->nr_cpus_allowed == 1 || in check_preempt_equal_prio()
1684 if (p->nr_cpus_allowed != 1 && in check_preempt_equal_prio()
1840 if (on_rt_rq(&p->rt) && p->nr_cpus_allowed > 1) in put_prev_task_rt()
1892 if (task->nr_cpus_allowed == 1) in find_lowest_rq()
2044 BUG_ON(p->nr_cpus_allowed <= 1); in pick_next_pushable_task()
2470 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.c2738 p->nr_cpus_allowed = cpumask_weight(ctx->new_mask); in set_cpus_allowed_common()
3630 if (p->nr_cpus_allowed > 1 && !is_migration_disabled(p)) in select_task_rq()
11830 atomic_read(&mm->mm_users) >= t->nr_cpus_allowed) in sched_mm_cid_migrate_to()
Dfair.c4914 if (!p || p->nr_cpus_allowed == 1) { in update_misfit_status()
10241 if (p->nr_cpus_allowed != NR_CPUS) { in find_idlest_group()
/Linux-v6.6/init/
Dinit_task.c85 .nr_cpus_allowed= NR_CPUS,
/Linux-v6.6/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-v6.6/include/linux/
Dsched.h834 int nr_cpus_allowed; member
1792 (current->nr_cpus_allowed == 1); in is_percpu_thread()
/Linux-v6.6/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-v6.6/kernel/trace/
Dtrace_osnoise.c2423 if (current->nr_cpus_allowed > 1 || cpu != smp_processor_id()) { in timerlat_fd_open()