Searched refs:new_cpu (Results 1 – 5 of 5) sorted by relevance
/kernel/sched/ |
D | cpudeadline.c | 138 int old_idx, new_cpu; in cpudl_set() local 155 new_cpu = cp->elements[cp->size - 1].cpu; in cpudl_set() 157 cp->elements[old_idx].cpu = new_cpu; in cpudl_set() 159 cp->elements[new_cpu].idx = old_idx; in cpudl_set()
|
D | walt.h | 27 void walt_fixup_busy_time(struct task_struct *p, int new_cpu); 50 static inline void walt_fixup_busy_time(struct task_struct *p, int new_cpu) { } in walt_fixup_busy_time() argument
|
D | walt.c | 832 void walt_fixup_busy_time(struct task_struct *p, int new_cpu) in walt_fixup_busy_time() argument 835 struct rq *dest_rq = cpu_rq(new_cpu); in walt_fixup_busy_time()
|
D | core.c | 1089 static struct rq *move_queued_task(struct task_struct *p, int new_cpu) in move_queued_task() argument 1097 double_lock_balance(rq, cpu_rq(new_cpu)); in move_queued_task() 1098 set_task_cpu(p, new_cpu); in move_queued_task() 1099 double_unlock_balance(rq, cpu_rq(new_cpu)); in move_queued_task() 1102 rq = cpu_rq(new_cpu); in move_queued_task() 1105 BUG_ON(task_cpu(p) != new_cpu); in move_queued_task() 1263 void set_task_cpu(struct task_struct *p, unsigned int new_cpu) in set_task_cpu() argument 1289 trace_sched_migrate_task(p, new_cpu); in set_task_cpu() 1291 if (task_cpu(p) != new_cpu) { in set_task_cpu() 1293 p->sched_class->migrate_task_rq(p, new_cpu); in set_task_cpu() [all …]
|
D | fair.c | 5686 int new_cpu = prev_cpu; in select_task_rq_fair() local 5722 new_cpu = cpu; in select_task_rq_fair() 5727 new_cpu = energy_aware_wake_cpu(p, prev_cpu, sync); in select_task_rq_fair() 5729 new_cpu = select_idle_sibling(p, new_cpu); in select_task_rq_fair() 5746 new_cpu = find_idlest_cpu(group, p, cpu); in select_task_rq_fair() 5747 if (new_cpu == -1 || new_cpu == cpu) { in select_task_rq_fair() 5754 cpu = new_cpu; in select_task_rq_fair() 5767 return new_cpu; in select_task_rq_fair()
|