Home
last modified time | relevance | path

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

/kernel/sched/
Dcore.c8892 struct rq *rq, *p_rq; in yield_to() local
8900 p_rq = task_rq(p); in yield_to()
8905 if (rq->nr_running == 1 && p_rq->nr_running == 1) { in yield_to()
8910 double_rq_lock(rq, p_rq); in yield_to()
8911 if (task_rq(p) != p_rq) { in yield_to()
8912 double_rq_unlock(rq, p_rq); in yield_to()
8922 if (task_on_cpu(p_rq, p) || !task_is_running(p)) in yield_to()
8932 if (preempt && rq != p_rq) in yield_to()
8933 resched_curr(p_rq); in yield_to()
8937 double_rq_unlock(rq, p_rq); in yield_to()