Home
last modified time | relevance | path

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

/linux/kernel/sched/
H A Dcpudeadline.c150 int best_cpu = cpudl_maximum(cp); in cpudl_find() local
152 WARN_ON(best_cpu != -1 && !cpu_present(best_cpu)); in cpudl_find()
154 if (cpumask_test_cpu(best_cpu, &p->cpus_mask) && in cpudl_find()
157 cpumask_set_cpu(best_cpu, later_mask); in cpudl_find()
H A Dfair.c3074 int best_cpu; in task_numa_compare()
3167 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) { in task_numa_compare()
3173 if (cpu == env->best_cpu || !idle_cpu(cpu) || in task_numa_compare()
3190 * Clear previous best_cpu/rq numa-migrate flag, since task now in task_numa_compare()
3193 if (env->best_cpu != -1 && env->best_cpu != env->dst_cpu) { in task_numa_compare()
3194 rq = cpu_rq(env->best_cpu); in task_numa_compare()
3205 env->best_cpu = env->dst_cpu; in task_numa_compare()
3406 if (!idle_cpu(cpu) && env->best_cpu >= 0 && in task_numa_migrate()
3407 idle_cpu(env->best_cpu)) { in task_numa_migrate()
2883 int best_cpu; global() member
8823 int cpu, best_cpu = -1; select_idle_capacity() local
[all...]
H A Drt.c1829 int best_cpu; in find_lowest_rq() local
1841 best_cpu = cpumask_any_and_distribute(lowest_mask, in find_lowest_rq()
1843 if (best_cpu < nr_cpu_ids) { in find_lowest_rq()
1845 return best_cpu; in find_lowest_rq()
H A Ddeadline.c2978 int best_cpu; in find_later_rq() local
2990 best_cpu = cpumask_any_and_distribute(later_mask, in find_later_rq()
2998 if (best_cpu < nr_cpu_ids) { in find_later_rq()
3000 return best_cpu; in find_later_rq()