Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/sched/
Ddeadline.c2378 struct rq *src_rq; in pull_dl_task() local
2394 src_rq = cpu_rq(cpu); in pull_dl_task()
2402 src_rq->dl.earliest_dl.next)) in pull_dl_task()
2407 double_lock_balance(this_rq, src_rq); in pull_dl_task()
2413 if (src_rq->dl.dl_nr_running <= 1) in pull_dl_task()
2416 p = pick_earliest_pushable_dl_task(src_rq, this_cpu); in pull_dl_task()
2425 WARN_ON(p == src_rq->curr); in pull_dl_task()
2433 src_rq->curr->dl.deadline)) in pull_dl_task()
2437 push_task = get_push_task(src_rq); in pull_dl_task()
2439 deactivate_task(src_rq, p, 0); in pull_dl_task()
[all …]
Drt.c2364 struct rq *src_rq; in pull_rt_task() local
2392 src_rq = cpu_rq(cpu); in pull_rt_task()
2401 if (src_rq->rt.highest_prio.next >= in pull_rt_task()
2411 double_lock_balance(this_rq, src_rq); in pull_rt_task()
2417 p = pick_highest_pushable_task(src_rq, this_cpu); in pull_rt_task()
2424 WARN_ON(p == src_rq->curr); in pull_rt_task()
2435 if (p->prio < src_rq->curr->prio) in pull_rt_task()
2439 push_task = get_push_task(src_rq); in pull_rt_task()
2441 deactivate_task(src_rq, p, 0); in pull_rt_task()
2454 double_unlock_balance(this_rq, src_rq); in pull_rt_task()
[all …]
Dfair.c8650 struct rq *src_rq; member
8681 lockdep_assert_rq_held(env->src_rq); in task_hot()
8713 delta = rq_clock_task(env->src_rq) - p->se.exec_start; in task_hot()
8744 if (env->src_rq->nr_running > env->src_rq->nr_preferred_running) in migrate_degrades_locality()
8786 lockdep_assert_rq_held(env->src_rq); in can_migrate_task()
8838 if (task_on_cpu(env->src_rq, p)) { in can_migrate_task()
8875 lockdep_assert_rq_held(env->src_rq); in detach_task()
8877 deactivate_task(env->src_rq, p, DEQUEUE_NOCLOCK); in detach_task()
8891 lockdep_assert_rq_held(env->src_rq); in detach_one_task()
8894 &env->src_rq->cfs_tasks, se.group_node) { in detach_one_task()
[all …]
Dcore.c3404 struct rq *src_rq, *dst_rq; in __migrate_swap_task() local
3407 src_rq = task_rq(p); in __migrate_swap_task()
3410 rq_pin_lock(src_rq, &srf); in __migrate_swap_task()
3413 deactivate_task(src_rq, p, 0); in __migrate_swap_task()
3419 rq_unpin_lock(src_rq, &srf); in __migrate_swap_task()
3439 struct rq *src_rq, *dst_rq; in migrate_swap_stop() local
3444 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop()
3448 guard(double_rq_lock)(src_rq, dst_rq); in migrate_swap_stop()
11695 int __sched_mm_cid_migrate_from_fetch_cid(struct rq *src_rq, in __sched_mm_cid_migrate_from_fetch_cid() argument
11724 src_task = rcu_dereference(src_rq->curr); in __sched_mm_cid_migrate_from_fetch_cid()
[all …]