Home
last modified time | relevance | path

Searched refs:src_rq (Results 1 – 4 of 4) sorted by relevance

/kernel/sched/
Ddeadline.c2389 struct rq *src_rq; in pull_dl_task() local
2405 src_rq = cpu_rq(cpu); in pull_dl_task()
2413 src_rq->dl.earliest_dl.next)) in pull_dl_task()
2418 double_lock_balance(this_rq, src_rq); in pull_dl_task()
2424 if (src_rq->dl.dl_nr_running <= 1) in pull_dl_task()
2427 p = pick_earliest_pushable_dl_task(src_rq, this_cpu); in pull_dl_task()
2436 WARN_ON(p == src_rq->curr); in pull_dl_task()
2444 src_rq->curr->dl.deadline)) in pull_dl_task()
2448 push_task = get_push_task(src_rq); in pull_dl_task()
2450 deactivate_task(src_rq, p, 0); in pull_dl_task()
[all …]
Drt.c2466 struct rq *src_rq; in pull_rt_task() local
2494 src_rq = cpu_rq(cpu); in pull_rt_task()
2503 if (src_rq->rt.highest_prio.next >= in pull_rt_task()
2513 double_lock_balance(this_rq, src_rq); in pull_rt_task()
2519 p = pick_highest_pushable_task(src_rq, this_cpu); in pull_rt_task()
2526 WARN_ON(p == src_rq->curr); in pull_rt_task()
2537 if (p->prio < src_rq->curr->prio) in pull_rt_task()
2541 push_task = get_push_task(src_rq); in pull_rt_task()
2543 deactivate_task(src_rq, p, 0); in pull_rt_task()
2556 double_unlock_balance(this_rq, src_rq); in pull_rt_task()
[all …]
Dfair.c8261 struct rq *src_rq; member
8293 lockdep_assert_rq_held(env->src_rq); in task_hot()
8326 delta = rq_clock_task(env->src_rq) - p->se.exec_start; in task_hot()
8357 if (env->src_rq->nr_running > env->src_rq->nr_preferred_running) in migrate_degrades_locality()
8400 lockdep_assert_rq_held(env->src_rq); in can_migrate_task()
8456 if (task_on_cpu(env->src_rq, p)) { in can_migrate_task()
8495 lockdep_assert_rq_held(env->src_rq); in detach_task()
8502 trace_android_rvh_migrate_queued_task(env->src_rq, env->src_rq_rf, p, in detach_task()
8507 deactivate_task(env->src_rq, p, DEQUEUE_NOCLOCK); in detach_task()
8521 lockdep_assert_rq_held(env->src_rq); in detach_one_task()
[all …]
Dcore.c3401 struct rq *src_rq, *dst_rq; in __migrate_swap_task() local
3404 src_rq = task_rq(p); in __migrate_swap_task()
3407 rq_pin_lock(src_rq, &srf); in __migrate_swap_task()
3410 deactivate_task(src_rq, p, 0); in __migrate_swap_task()
3416 rq_unpin_lock(src_rq, &srf); in __migrate_swap_task()
3436 struct rq *src_rq, *dst_rq; in migrate_swap_stop() local
3442 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop()
3447 double_rq_lock(src_rq, dst_rq); in migrate_swap_stop()
3467 double_rq_unlock(src_rq, dst_rq); in migrate_swap_stop()