Lines Matching refs:new_cpu
3625 static void update_scan_period(struct task_struct *p, int new_cpu)
3628 int dst_nid = cpu_to_node(new_cpu);
3673 static inline void update_scan_period(struct task_struct *p, int new_cpu)
7397 int new_cpu = cpu;
7425 new_cpu = sched_balance_find_dst_group_cpu(group, p, cpu);
7426 if (new_cpu == cpu) {
7432 /* Now try balancing at a lower domain level of 'new_cpu': */
7433 cpu = new_cpu;
7444 return new_cpu;
8479 int new_cpu = prev_cpu;
8496 new_cpu = find_energy_efficient_cpu(p, prev_cpu);
8497 if (new_cpu >= 0)
8498 return new_cpu;
8499 new_cpu = prev_cpu;
8514 new_cpu = wake_affine(tmp, p, cpu, prev_cpu, sync);
8533 new_cpu = sched_balance_find_dst_cpu(sd, p, cpu, prev_cpu, sd_flag);
8536 new_cpu = select_idle_sibling(p, prev_cpu, new_cpu);
8540 return new_cpu;
8548 static void migrate_task_rq_fair(struct task_struct *p, int new_cpu)
8571 update_scan_period(p, new_cpu);