Searched refs:best_cpu (Results 1 – 5 of 5) sorted by relevance
132 unsigned int cpu, best_cpu, maxavl = 0; in matrix_find_best_cpu() local135 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() local156 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()
150 int best_cpu = cpudl_maximum(cp); in cpudl_find() local152 WARN_ON(best_cpu != -1 && !cpu_present(best_cpu)); in cpudl_find()154 if (cpumask_test_cpu(best_cpu, p->cpus_ptr) && in cpudl_find()157 cpumask_set_cpu(best_cpu, later_mask); in cpudl_find()
1547 int best_cpu; member1649 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { in task_numa_assign()1655 if (cpu == env->best_cpu || !idle_cpu(cpu) || in task_numa_assign()1675 if (env->best_cpu != -1 && env->best_cpu != env->dst_cpu) { in task_numa_assign()1676 rq = cpu_rq(env->best_cpu); in task_numa_assign()1687 env->best_cpu = env->dst_cpu; in task_numa_assign()1878 if (!idle_cpu(cpu) && env->best_cpu >= 0 && in task_numa_compare()1879 idle_cpu(env->best_cpu)) { in task_numa_compare()1880 cpu = env->best_cpu; in task_numa_compare()1893 if (maymove && !cur && env->best_cpu >= 0 && idle_cpu(env->best_cpu)) in task_numa_compare()[all …]
1743 int best_cpu; in find_lowest_rq() local1755 best_cpu = cpumask_first_and(lowest_mask, in find_lowest_rq()1757 if (best_cpu < nr_cpu_ids) { in find_lowest_rq()1759 return best_cpu; in find_lowest_rq()
1999 int best_cpu; in find_later_rq() local2011 best_cpu = cpumask_first_and(later_mask, in find_later_rq()2019 if (best_cpu < nr_cpu_ids) { in find_later_rq()2021 return best_cpu; in find_later_rq()