Home
last modified time | relevance | path

Searched refs:new_cpu (Results 1 – 6 of 6) sorted by relevance

/kernel/sched/
Dcpudeadline.c175 int old_idx, new_cpu; in cpudl_clear() local
190 new_cpu = cp->elements[cp->size - 1].cpu; in cpudl_clear()
192 cp->elements[old_idx].cpu = new_cpu; in cpudl_clear()
194 cp->elements[new_cpu].idx = old_idx; in cpudl_clear()
Dfair.c3161 static void update_scan_period(struct task_struct *p, int new_cpu) in update_scan_period() argument
3164 int dst_nid = cpu_to_node(new_cpu); in update_scan_period()
3208 static inline void update_scan_period(struct task_struct *p, int new_cpu) in update_scan_period() argument
6596 int new_cpu = cpu; in find_idlest_cpu() local
6624 new_cpu = find_idlest_group_cpu(group, p, cpu); in find_idlest_cpu()
6625 if (new_cpu == cpu) { in find_idlest_cpu()
6632 cpu = new_cpu; in find_idlest_cpu()
6643 return new_cpu; in find_idlest_cpu()
7310 int new_cpu = INT_MAX; in find_energy_efficient_cpu() local
7312 trace_android_rvh_find_energy_efficient_cpu(p, prev_cpu, sync, &new_cpu); in find_energy_efficient_cpu()
[all …]
Dcore.c2529 struct task_struct *p, int new_cpu) in move_queued_task() argument
2540 trace_android_rvh_migrate_queued_task(rq, rf, p, new_cpu, &detached); in move_queued_task()
2545 set_task_cpu(p, new_cpu); in move_queued_task()
2549 rq = cpu_rq(new_cpu); in move_queued_task()
2552 WARN_ON_ONCE(task_cpu(p) != new_cpu); in move_queued_task()
3341 void set_task_cpu(struct task_struct *p, unsigned int new_cpu) in set_task_cpu() argument
3378 WARN_ON_ONCE(!cpu_online(new_cpu)); in set_task_cpu()
3383 trace_sched_migrate_task(p, new_cpu); in set_task_cpu()
3385 if (task_cpu(p) != new_cpu) { in set_task_cpu()
3387 p->sched_class->migrate_task_rq(p, new_cpu); in set_task_cpu()
[all …]
Dsched.h2220 void (*migrate_task_rq)(struct task_struct *p, int new_cpu);
Ddeadline.c1877 static void migrate_task_rq_dl(struct task_struct *p, int new_cpu __maybe_unused) in migrate_task_rq_dl()
/kernel/
Dworkqueue.c1403 int new_cpu; in wq_select_unbound_cpu() local
1416 new_cpu = __this_cpu_read(wq_rr_cpu_last); in wq_select_unbound_cpu()
1417 new_cpu = cpumask_next_and(new_cpu, wq_unbound_cpumask, cpu_online_mask); in wq_select_unbound_cpu()
1418 if (unlikely(new_cpu >= nr_cpu_ids)) { in wq_select_unbound_cpu()
1419 new_cpu = cpumask_first_and(wq_unbound_cpumask, cpu_online_mask); in wq_select_unbound_cpu()
1420 if (unlikely(new_cpu >= nr_cpu_ids)) in wq_select_unbound_cpu()
1423 __this_cpu_write(wq_rr_cpu_last, new_cpu); in wq_select_unbound_cpu()
1425 return new_cpu; in wq_select_unbound_cpu()