Home
last modified time | relevance | path

Searched refs:best_cpu (Results 1 – 5 of 5) sorted by relevance

/kernel/irq/
Dmatrix.c132 unsigned int cpu, best_cpu, maxavl = 0; in matrix_find_best_cpu() local
135 best_cpu = UINT_MAX; in matrix_find_best_cpu()
143 best_cpu = cpu; in matrix_find_best_cpu()
146 return best_cpu; in matrix_find_best_cpu()
153 unsigned int cpu, best_cpu, allocated = UINT_MAX; in matrix_find_best_cpu_managed() local
156 best_cpu = UINT_MAX; in matrix_find_best_cpu_managed()
164 best_cpu = cpu; in matrix_find_best_cpu_managed()
167 return best_cpu; in matrix_find_best_cpu_managed()
/kernel/sched/
Dcpudeadline.c149 int best_cpu = cpudl_maximum(cp); in cpudl_find() local
151 WARN_ON(best_cpu != -1 && !cpu_present(best_cpu)); in cpudl_find()
153 if (cpumask_test_cpu(best_cpu, &p->cpus_mask) && in cpudl_find()
156 cpumask_set_cpu(best_cpu, later_mask); in cpudl_find()
Dfair.c1734 int best_cpu; member
1834 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { in task_numa_assign()
1840 if (cpu == env->best_cpu || !idle_cpu(cpu) || in task_numa_assign()
1860 if (env->best_cpu != -1 && env->best_cpu != env->dst_cpu) { in task_numa_assign()
1861 rq = cpu_rq(env->best_cpu); in task_numa_assign()
1872 env->best_cpu = env->dst_cpu; in task_numa_assign()
2072 if (!idle_cpu(cpu) && env->best_cpu >= 0 && in task_numa_compare()
2073 idle_cpu(env->best_cpu)) { in task_numa_compare()
2074 cpu = env->best_cpu; in task_numa_compare()
2087 if (maymove && !cur && env->best_cpu >= 0 && idle_cpu(env->best_cpu)) in task_numa_compare()
[all …]
Ddeadline.c2178 int best_cpu; in find_later_rq() local
2190 best_cpu = cpumask_any_and_distribute(later_mask, in find_later_rq()
2198 if (best_cpu < nr_cpu_ids) { in find_later_rq()
2200 return best_cpu; in find_later_rq()
Drt.c2037 int best_cpu; in find_lowest_rq() local
2049 best_cpu = cpumask_any_and_distribute(lowest_mask, in find_lowest_rq()
2051 if (best_cpu < nr_cpu_ids) { in find_lowest_rq()
2053 return best_cpu; in find_lowest_rq()