Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/sched/
Dcore.c8934 struct rq *rq, *p_rq; in yield_to() local
8942 p_rq = task_rq(p); in yield_to()
8947 if (rq->nr_running == 1 && p_rq->nr_running == 1) { in yield_to()
8952 double_rq_lock(rq, p_rq); in yield_to()
8953 if (task_rq(p) != p_rq) { in yield_to()
8954 double_rq_unlock(rq, p_rq); in yield_to()
8964 if (task_on_cpu(p_rq, p) || !task_is_running(p)) in yield_to()
8974 if (preempt && rq != p_rq) in yield_to()
8975 resched_curr(p_rq); in yield_to()
8979 double_rq_unlock(rq, p_rq); in yield_to()