Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/kernel/sched/
Dcpudeadline.c126 int best_cpu = cpudl_maximum(cp); in cpudl_find() local
128 WARN_ON(best_cpu != -1 && !cpu_present(best_cpu)); in cpudl_find()
130 if (cpumask_test_cpu(best_cpu, p->cpus_ptr) && in cpudl_find()
133 cpumask_set_cpu(best_cpu, later_mask); in cpudl_find()
Ddeadline.c1918 int best_cpu; in find_later_rq() local
1930 best_cpu = cpumask_first_and(later_mask, in find_later_rq()
1938 if (best_cpu < nr_cpu_ids) { in find_later_rq()
1940 return best_cpu; in find_later_rq()
Drt.c1670 int best_cpu; in find_lowest_rq() local
1682 best_cpu = cpumask_first_and(lowest_mask, in find_lowest_rq()
1684 if (best_cpu < nr_cpu_ids) { in find_lowest_rq()
1686 return best_cpu; in find_lowest_rq()
Dfair.c1517 int best_cpu; member
1533 if (env->best_cpu != -1) { in task_numa_assign()
1534 rq = cpu_rq(env->best_cpu); in task_numa_assign()
1545 env->best_cpu = env->dst_cpu; in task_numa_assign()
1749 .best_cpu = -1, in task_numa_migrate()
1803 if (env.best_cpu == -1 || (ng && ng->active_nodes > 1)) { in task_numa_migrate()
1837 if (env.best_cpu == -1) in task_numa_migrate()
1840 nid = cpu_to_node(env.best_cpu); in task_numa_migrate()
1847 if (env.best_cpu == -1) in task_numa_migrate()
1850 best_rq = cpu_rq(env.best_cpu); in task_numa_migrate()
[all …]