Searched refs:src_rq (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/kernel/sched/ |
D | walt.c | 439 struct rq *src_rq = cpu_rq(task_cpu); in inter_cluster_migration_fixup() local 450 src_rq->curr_runnable_sum -= p->ravg.curr_window_cpu[task_cpu]; in inter_cluster_migration_fixup() 451 src_rq->prev_runnable_sum -= p->ravg.prev_window_cpu[task_cpu]; in inter_cluster_migration_fixup() 457 src_rq->nt_curr_runnable_sum -= in inter_cluster_migration_fixup() 459 src_rq->nt_prev_runnable_sum -= in inter_cluster_migration_fixup() 467 src_rq->window_start, new_task); in inter_cluster_migration_fixup() 469 BUG_ON((s64)src_rq->prev_runnable_sum < 0); in inter_cluster_migration_fixup() 470 BUG_ON((s64)src_rq->curr_runnable_sum < 0); in inter_cluster_migration_fixup() 471 BUG_ON((s64)src_rq->nt_prev_runnable_sum < 0); in inter_cluster_migration_fixup() 472 BUG_ON((s64)src_rq->nt_curr_runnable_sum < 0); in inter_cluster_migration_fixup() [all …]
|
D | deadline.c | 2229 struct rq *src_rq; in pull_dl_task() local 2245 src_rq = cpu_rq(cpu); in pull_dl_task() 2253 src_rq->dl.earliest_dl.next)) in pull_dl_task() 2257 double_lock_balance(this_rq, src_rq); in pull_dl_task() 2263 if (src_rq->dl.dl_nr_running <= 1) in pull_dl_task() 2266 p = pick_earliest_pushable_dl_task(src_rq, this_cpu); in pull_dl_task() 2277 WARN_ON(p == src_rq->curr); in pull_dl_task() 2285 src_rq->curr->dl.deadline)) in pull_dl_task() 2290 deactivate_task(src_rq, p, 0); in pull_dl_task() 2298 double_unlock_balance(this_rq, src_rq); in pull_dl_task()
|
D | rt.c | 2331 struct rq *src_rq; in pull_rt_task() local 2359 src_rq = cpu_rq(cpu); in pull_rt_task() 2368 if (src_rq->rt.highest_prio.next >= in pull_rt_task() 2377 double_lock_balance(this_rq, src_rq); in pull_rt_task() 2383 p = pick_highest_pushable_task(src_rq, this_cpu); in pull_rt_task() 2390 WARN_ON(p == src_rq->curr); in pull_rt_task() 2401 if (p->prio < src_rq->curr->prio) in pull_rt_task() 2406 deactivate_task(src_rq, p, 0); in pull_rt_task() 2417 double_unlock_balance(this_rq, src_rq); in pull_rt_task()
|
D | fair.c | 7782 struct rq *src_rq; member 7813 lockdep_assert_held(&env->src_rq->lock); in task_hot() 7838 delta = rq_clock_task(env->src_rq) - p->se.exec_start; in task_hot() 7869 if (env->src_rq->nr_running > env->src_rq->nr_preferred_running) in migrate_degrades_locality() 7911 lockdep_assert_held(&env->src_rq->lock); in can_migrate_task() 7967 if (task_running(env->src_rq, p)) { in can_migrate_task() 8000 lockdep_assert_held(&env->src_rq->lock); in detach_task() 8002 deactivate_task(env->src_rq, p, DEQUEUE_NOCLOCK); in detach_task() 8004 double_lock_balance(env->src_rq, env->dst_rq); in detach_task() 8005 if (!(env->src_rq->clock_update_flags & RQCF_UPDATED)) in detach_task() [all …]
|
D | core.c | 2105 struct rq *src_rq, *dst_rq; in __migrate_swap_task() local 2108 src_rq = task_rq(p); in __migrate_swap_task() 2111 rq_pin_lock(src_rq, &srf); in __migrate_swap_task() 2114 deactivate_task(src_rq, p, 0); in __migrate_swap_task() 2120 rq_unpin_lock(src_rq, &srf); in __migrate_swap_task() 2140 struct rq *src_rq, *dst_rq; in migrate_swap_stop() local 2146 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop() 2151 double_rq_lock(src_rq, dst_rq); in migrate_swap_stop() 2171 double_rq_unlock(src_rq, dst_rq); in migrate_swap_stop()
|