Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/sched/
Dcore.c6208 struct rq *rq, *p_rq; in yield_to() local
6216 p_rq = task_rq(p); in yield_to()
6221 if (rq->nr_running == 1 && p_rq->nr_running == 1) { in yield_to()
6226 double_rq_lock(rq, p_rq); in yield_to()
6227 if (task_rq(p) != p_rq) { in yield_to()
6228 double_rq_unlock(rq, p_rq); in yield_to()
6238 if (task_running(p_rq, p) || p->state) in yield_to()
6248 if (preempt && rq != p_rq) in yield_to()
6249 resched_curr(p_rq); in yield_to()
6253 double_rq_unlock(rq, p_rq); in yield_to()