Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/sched/
Dext.c2233 struct rq *dst_rq) in move_local_task_to_local_dsq() argument
2235 struct scx_dispatch_q *dst_dsq = &dst_rq->scx.local_dsq; in move_local_task_to_local_dsq()
2239 lockdep_assert_rq_held(dst_rq); in move_local_task_to_local_dsq()
2263 struct rq *src_rq, struct rq *dst_rq) in move_remote_task_to_local_dsq() argument
2269 set_task_cpu(p, cpu_of(dst_rq)); in move_remote_task_to_local_dsq()
2270 p->scx.sticky_cpu = cpu_of(dst_rq); in move_remote_task_to_local_dsq()
2273 raw_spin_rq_lock(dst_rq); in move_remote_task_to_local_dsq()
2280 WARN_ON_ONCE(!cpumask_test_cpu(cpu_of(dst_rq), p->cpus_ptr)); in move_remote_task_to_local_dsq()
2281 WARN_ON_ONCE(dst_rq->scx.extra_enq_flags); in move_remote_task_to_local_dsq()
2282 dst_rq->scx.extra_enq_flags = enq_flags; in move_remote_task_to_local_dsq()
[all …]
Dfair.c2247 struct rq *dst_rq = cpu_rq(env->dst_cpu); in task_numa_compare() local
2256 if (READ_ONCE(dst_rq->numa_migrate_on)) in task_numa_compare()
2260 cur = rcu_dereference(dst_rq->curr); in task_numa_compare()
9237 struct rq *dst_rq; member
9279 if (sched_feat(CACHE_HOT_BUDDY) && env->dst_rq->nr_running && in task_hot()
9669 rq_lock(env->dst_rq, &rf); in attach_tasks()
9670 update_rq_clock(env->dst_rq); in attach_tasks()
9676 attach_task(env->dst_rq, p); in attach_tasks()
9679 rq_unlock(env->dst_rq, &rf); in attach_tasks()
11031 set_rd_overloaded(env->dst_rq->rd, sg_overloaded); in update_sd_lb_stats()
[all …]
Dcore.c3302 struct rq *src_rq, *dst_rq; in __migrate_swap_task() local
3306 dst_rq = cpu_rq(cpu); in __migrate_swap_task()
3309 rq_pin_lock(dst_rq, &drf); in __migrate_swap_task()
3313 activate_task(dst_rq, p, 0); in __migrate_swap_task()
3314 wakeup_preempt(dst_rq, p, 0); in __migrate_swap_task()
3316 rq_unpin_lock(dst_rq, &drf); in __migrate_swap_task()
3337 struct rq *src_rq, *dst_rq; in migrate_swap_stop() local
3343 dst_rq = cpu_rq(arg->dst_cpu); in migrate_swap_stop()
3346 guard(double_rq_lock)(src_rq, dst_rq); in migrate_swap_stop()
10264 void sched_mm_cid_migrate_to(struct rq *dst_rq, struct task_struct *t) in sched_mm_cid_migrate_to() argument
[all …]
Dsched.h3568 extern void sched_mm_cid_migrate_to(struct rq *dst_rq, struct task_struct *t);
3798 static inline void sched_mm_cid_migrate_to(struct rq *dst_rq, struct task_struct *t) { } in sched_mm_cid_migrate_to() argument