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

/linux-4.1.27/kernel/sched/
H A Dcore.c4332 struct rq *rq, *p_rq; yield_to() local
4340 p_rq = task_rq(p); yield_to()
4345 if (rq->nr_running == 1 && p_rq->nr_running == 1) { yield_to()
4350 double_rq_lock(rq, p_rq); yield_to()
4351 if (task_rq(p) != p_rq) { yield_to()
4352 double_rq_unlock(rq, p_rq); yield_to()
4362 if (task_running(p_rq, p) || p->state) yield_to()
4372 if (preempt && rq != p_rq) yield_to()
4373 resched_curr(p_rq); yield_to()
4377 double_rq_unlock(rq, p_rq); yield_to()

Completed in 81 milliseconds