Home
last modified time | relevance | path

Searched refs:src_rq (Results 1 - 3 of 3) sorted by relevance

/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Drt.c2422 struct rq *src_rq; in pull_rt_task() local
2452 src_rq = cpu_rq(cpu); in pull_rt_task()
2454 * Don't bother taking the src_rq->lock if the next highest in pull_rt_task()
2457 * logically higher, the src_rq will push this task away. in pull_rt_task()
2460 if (src_rq->rt.highest_prio.next >= this_rq->rt.highest_prio.curr) { in pull_rt_task()
2469 double_lock_balance(this_rq, src_rq); in pull_rt_task()
2475 p = pick_highest_pushable_task(src_rq, this_cpu); in pull_rt_task()
2481 WARN_ON(p == src_rq->curr); in pull_rt_task()
2492 if (p->prio < src_rq->curr->prio) { in pull_rt_task()
2498 deactivate_task(src_rq, in pull_rt_task()
[all...]
H A Dfair.c7859 struct rq *src_rq; member
7890 lockdep_assert_held(&env->src_rq->lock); in task_hot()
7920 delta = rq_clock_task(env->src_rq) - p->se.exec_start; in task_hot()
7953 if (env->src_rq->nr_running > env->src_rq->nr_preferred_running) { in migrate_degrades_locality()
7996 lockdep_assert_held(&env->src_rq->lock); in can_migrate_task()
8055 if (task_running(env->src_rq, p)) { in can_migrate_task()
8088 lockdep_assert_held(&env->src_rq->lock); in detach_task()
8090 deactivate_task(env->src_rq, p, DEQUEUE_NOCLOCK); in detach_task()
8092 double_lock_balance(env->src_rq, en in detach_task()
[all...]
H A Dcore.c2220 struct rq *src_rq, *dst_rq; in __migrate_swap_task() local
2223 src_rq = task_rq(p); in __migrate_swap_task()
2226 rq_pin_lock(src_rq, &srf); in __migrate_swap_task()
2229 deactivate_task(src_rq, p, 0); in __migrate_swap_task()
2235 rq_unpin_lock(src_rq, &srf); in __migrate_swap_task()
2254 struct rq *src_rq, *dst_rq; in migrate_swap_stop() local
2261 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop()
2265 double_rq_lock(src_rq, dst_rq); in migrate_swap_stop()
2289 double_rq_unlock(src_rq, dst_rq); in migrate_swap_stop()

Completed in 33 milliseconds