Searched refs:best_cpu (Results 1 - 7 of 7) sorted by last modified time

/linux-master/kernel/sched/
H A Drt.c1878 int best_cpu; local
1890 best_cpu = cpumask_any_and_distribute(lowest_mask,
1892 if (best_cpu < nr_cpu_ids) {
1894 return best_cpu;
H A Dfair.c1981 int best_cpu;
2081 if (env->best_cpu != env->dst_cpu && xchg(&rq->numa_migrate_on, 1)) {
2087 if (cpu == env->best_cpu || !idle_cpu(cpu) ||
2104 * Clear previous best_cpu/rq numa-migrate flag, since task now
2107 if (env->best_cpu != -1 && env->best_cpu != env->dst_cpu) {
2108 rq = cpu_rq(env->best_cpu);
2119 env->best_cpu = env->dst_cpu;
2319 if (!idle_cpu(cpu) && env->best_cpu >= 0 &&
2320 idle_cpu(env->best_cpu)) {
1980 int best_cpu; member in struct:task_numa_env
7479 int cpu, best_cpu = -1; local
[all...]
H A Ddeadline.c2264 int best_cpu; local
2276 best_cpu = cpumask_any_and_distribute(later_mask,
2284 if (best_cpu < nr_cpu_ids) {
2286 return best_cpu;
H A Dcpudeadline.c149 int best_cpu = cpudl_maximum(cp); local
151 WARN_ON(best_cpu != -1 && !cpu_present(best_cpu));
153 if (cpumask_test_cpu(best_cpu, &p->cpus_mask) &&
156 cpumask_set_cpu(best_cpu, later_mask);
/linux-master/drivers/xen/events/
H A Devents_base.c1811 unsigned int cpu, best_cpu = UINT_MAX, minch = UINT_MAX; local
1818 best_cpu = cpu;
1826 if (best_cpu == UINT_MAX)
1829 return best_cpu;
/linux-master/kernel/irq/
H A Dmatrix.c138 unsigned int cpu, best_cpu, maxavl = 0; local
141 best_cpu = UINT_MAX;
149 best_cpu = cpu;
152 return best_cpu;
159 unsigned int cpu, best_cpu, allocated = UINT_MAX; local
162 best_cpu = UINT_MAX;
170 best_cpu = cpu;
173 return best_cpu;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dirq_affinity.c22 int best_cpu = -1; local
28 best_cpu = cpu;
31 if (best_cpu < 0)
32 best_cpu = cpu;
33 if (pool->irqs_per_cpu[cpu] < pool->irqs_per_cpu[best_cpu])
34 best_cpu = cpu;
36 if (best_cpu == -1) {
40 best_cpu = cpumask_first(cpu_online_mask);
42 pool->irqs_per_cpu[best_cpu]++;
43 return best_cpu;
[all...]

Completed in 181 milliseconds