Lines Matching defs:src_cpu
2032 int src_cpu, src_nid;
2264 if (!cpumask_test_cpu(env->src_cpu, cur->cpus_ptr))
2477 .src_cpu = task_cpu(p),
2502 sd = rcu_dereference(per_cpu(sd_numa, env.src_cpu));
2585 trace_sched_stick_numa(p, env.src_cpu, NULL, -1);
2594 trace_sched_stick_numa(p, env.src_cpu, NULL, env.best_cpu);
2598 ret = migrate_swap(p, env.best_task, env.best_cpu, env.src_cpu);
2602 trace_sched_stick_numa(p, env.src_cpu, env.best_task, env.best_cpu);
9261 int src_cpu;
9346 src_nid = cpu_to_node(env->src_cpu);
9466 * meet load balance goals by pulling other tasks on src_cpu.
9668 if (task_fits_cpu(p, env->src_cpu))
10268 static inline bool sched_asym(struct sched_domain *sd, int dst_cpu, int src_cpu)
10272 * if it has higher priority than @src_cpu.
10275 sched_asym_prefer(dst_cpu, src_cpu);
11630 * If @env::src_cpu is an SMT core with busy siblings, let
11635 (sched_asym_prefer(env->dst_cpu, env->src_cpu) ||
11636 !sched_use_asym_prio(env->sd, env->src_cpu));
11667 * The dst_cpu is idle and the src_cpu CPU has only 1 CFS task.
11668 * It's worth migrating the task if the src_cpu's capacity is reduced
11675 (capacity_of(env->src_cpu)*sd->imbalance_pct < capacity_of(env->dst_cpu)*100))
11851 env.src_cpu = busiest->cpu;
11899 * Revisit (affine) tasks on src_cpu that couldn't be moved to
11902 * iterate on same src_cpu is dependent on number of CPUs in our
11930 * need to continue with same src_cpu.
12171 .src_cpu = busiest_rq->cpu,