Home
last modified time | relevance | path

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

/linux/kernel/sched/
H A Drt.c2269 struct rq *src_rq; in pull_rt_task() local
2297 src_rq = cpu_rq(cpu); in pull_rt_task()
2306 if (src_rq->rt.highest_prio.next >= in pull_rt_task()
2316 double_lock_balance(this_rq, src_rq); in pull_rt_task()
2322 p = pick_highest_pushable_task(src_rq, this_cpu); in pull_rt_task()
2329 WARN_ON(p == src_rq->curr); in pull_rt_task()
2340 if (p->prio < src_rq->donor->prio) in pull_rt_task()
2344 push_task = get_push_task(src_rq); in pull_rt_task()
2346 move_queued_task_locked(src_rq, this_rq, p); in pull_rt_task()
2357 double_unlock_balance(this_rq, src_rq); in pull_rt_task()
[all …]
H A Ddeadline.c3226 struct rq *src_rq; in pull_dl_task() local
3242 src_rq = cpu_rq(cpu); in pull_dl_task()
3250 src_rq->dl.earliest_dl.next)) in pull_dl_task()
3255 double_lock_balance(this_rq, src_rq); in pull_dl_task()
3261 if (src_rq->dl.dl_nr_running <= 1) in pull_dl_task()
3264 p = pick_earliest_pushable_dl_task(src_rq, this_cpu); in pull_dl_task()
3273 WARN_ON(p == src_rq->curr); in pull_dl_task()
3281 src_rq->donor->dl.deadline)) in pull_dl_task()
3285 push_task = get_push_task(src_rq); in pull_dl_task()
3287 move_queued_task_locked(src_rq, this_r in pull_dl_task()
[all...]
H A Dfair.c10625 struct rq *src_rq; member
10657 lockdep_assert_rq_held(env->src_rq); in task_hot()
10689 delta = rq_clock_task(env->src_rq) - p->se.exec_start; in task_hot()
10720 if (env->src_rq->nr_running > env->src_rq->nr_preferred_running) in migrate_degrades_locality()
11016 if (env->src_rq->nr_pref_llc_running && in alb_break_llc()
11017 env->src_rq->nr_pref_llc_running == env->src_rq->cfs.h_nr_runnable) { in alb_break_llc()
11029 if (env->src_rq->nr_running <= 1) in alb_break_llc()
11032 cur = rcu_dereference_all(env->src_rq in alb_break_llc()
[all...]
H A Dcore.c3451 struct rq *src_rq, *dst_rq; in __migrate_swap_task() local
3454 src_rq = task_rq(p); in __migrate_swap_task()
3457 rq_pin_lock(src_rq, &srf); in __migrate_swap_task()
3460 move_queued_task_locked(src_rq, dst_rq, p); in __migrate_swap_task()
3464 rq_unpin_lock(src_rq, &srf); in __migrate_swap_task()
3484 struct rq *src_rq, *dst_rq; in migrate_swap_stop() local
3489 src_rq = cpu_rq(arg->src_cpu); in migrate_swap_stop()
3493 guard(double_rq_lock)(src_rq, dst_rq); in migrate_swap_stop()
H A Dsched.h4251 void move_queued_task_locked(struct rq *src_rq, struct rq *dst_rq, struct task_struct *task) in rt_effective_prio()
4253 lockdep_assert_rq_held(src_rq);
4256 deactivate_task(src_rq, task, 0);
4208 move_queued_task_locked(struct rq * src_rq,struct rq * dst_rq,struct task_struct * task) move_queued_task_locked() argument
/linux/kernel/sched/ext/
H A Dext.c2756 * @src_rq: rq to move the task from, locked on entry, released on return
2759 * Move @p which is currently on @src_rq to @dst_rq's local DSQ.
2763 struct rq *src_rq, struct rq *dst_rq)
2765 lockdep_assert_rq_held(src_rq);
2772 deactivate_task(src_rq, p, 0); in dispatch_to_local_dsq() local
2775 switch_rq_lock(src_rq, dst_rq); in dispatch_to_local_dsq()
2896 struct rq *src_rq = task_rq(p); in finish_dispatch()
2898 lockdep_assert_rq_held(src_rq); in finish_dispatch()
2904 if (task_on_cpu(src_rq, p)) in finish_dispatch()
2908 if (task_current_donor(src_rq, in finish_dispatch()
2451 move_remote_task_to_local_dsq(struct scx_sched * sch,struct task_struct * p,u64 enq_flags,struct rq * src_rq,struct rq * dst_rq) move_remote_task_to_local_dsq() argument
2591 unlink_dsq_and_switch_rq_lock(struct task_struct * p,struct scx_dispatch_q * dsq,struct rq * locked_rq,struct rq * src_rq) unlink_dsq_and_switch_rq_lock() argument
2616 consume_remote_task(struct scx_sched * sch,struct rq * this_rq,struct task_struct * p,u64 enq_flags,struct scx_dispatch_q * dsq,struct rq * src_rq) consume_remote_task() argument
2648 struct rq *src_rq = task_rq(p), *dst_rq; move_task_between_dsqs() local
9176 struct rq *p_rq, *src_rq, *locked_rq; scx_dsq_move() local
[all...]