Lines Matching refs:new_cpu
3611 static void update_scan_period(struct task_struct *p, int new_cpu) in update_scan_period() argument
3614 int dst_nid = cpu_to_node(new_cpu); in update_scan_period()
3658 static inline void update_scan_period(struct task_struct *p, int new_cpu) in update_scan_period() argument
7512 int new_cpu = cpu; in sched_balance_find_dst_cpu() local
7540 new_cpu = sched_balance_find_dst_group_cpu(group, p, cpu); in sched_balance_find_dst_cpu()
7541 if (new_cpu == cpu) { in sched_balance_find_dst_cpu()
7548 cpu = new_cpu; in sched_balance_find_dst_cpu()
7559 return new_cpu; in sched_balance_find_dst_cpu()
8594 int new_cpu = prev_cpu; in select_task_rq_fair() local
8611 new_cpu = find_energy_efficient_cpu(p, prev_cpu); in select_task_rq_fair()
8612 if (new_cpu >= 0) in select_task_rq_fair()
8613 return new_cpu; in select_task_rq_fair()
8614 new_cpu = prev_cpu; in select_task_rq_fair()
8629 new_cpu = wake_affine(tmp, p, cpu, prev_cpu, sync); in select_task_rq_fair()
8648 new_cpu = sched_balance_find_dst_cpu(sd, p, cpu, prev_cpu, sd_flag); in select_task_rq_fair()
8651 new_cpu = select_idle_sibling(p, prev_cpu, new_cpu); in select_task_rq_fair()
8655 return new_cpu; in select_task_rq_fair()
8663 static void migrate_task_rq_fair(struct task_struct *p, int new_cpu) in migrate_task_rq_fair() argument
8686 update_scan_period(p, new_cpu); in migrate_task_rq_fair()