Home
last modified time | relevance | path

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

/kernel/sched/
Dcore.c5812 struct rq *rq, *p_rq; in yield_to() local
5820 p_rq = task_rq(p); in yield_to()
5825 if (rq->nr_running == 1 && p_rq->nr_running == 1) { in yield_to()
5830 double_rq_lock(rq, p_rq); in yield_to()
5831 if (task_rq(p) != p_rq) { in yield_to()
5832 double_rq_unlock(rq, p_rq); in yield_to()
5842 if (task_running(p_rq, p) || p->state) in yield_to()
5852 if (preempt && rq != p_rq) in yield_to()
5853 resched_curr(p_rq); in yield_to()
5857 double_rq_unlock(rq, p_rq); in yield_to()