Lines Matching defs:new_cpu
4413 static void update_scan_period(struct task_struct *p, int new_cpu)
4416 int dst_nid = cpu_to_node(new_cpu);
4461 static inline void update_scan_period(struct task_struct *p, int new_cpu)
8360 int new_cpu = cpu;
8388 new_cpu = sched_balance_find_dst_group_cpu(group, p, cpu);
8389 if (new_cpu == cpu) {
8395 /* Now try balancing at a lower domain level of 'new_cpu': */
8396 cpu = new_cpu;
8407 return new_cpu;
9549 int new_cpu = prev_cpu;
9566 new_cpu = find_energy_efficient_cpu(p, prev_cpu);
9567 if (new_cpu >= 0)
9568 return new_cpu;
9569 new_cpu = prev_cpu;
9583 new_cpu = wake_affine(tmp, p, cpu, prev_cpu, sync);
9606 return select_idle_sibling(p, prev_cpu, new_cpu);
9608 return new_cpu;
9616 static void migrate_task_rq_fair(struct task_struct *p, int new_cpu)
9639 update_scan_period(p, new_cpu);