Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/sched/
Dcore.c8679 struct rq *rq, *p_rq; in yield_to() local
8687 p_rq = task_rq(p); in yield_to()
8692 if (rq->nr_running == 1 && p_rq->nr_running == 1) { in yield_to()
8697 double_rq_lock(rq, p_rq); in yield_to()
8698 if (task_rq(p) != p_rq) { in yield_to()
8699 double_rq_unlock(rq, p_rq); in yield_to()
8709 if (task_on_cpu(p_rq, p) || !task_is_running(p)) in yield_to()
8719 if (preempt && rq != p_rq) in yield_to()
8720 resched_curr(p_rq); in yield_to()
8724 double_rq_unlock(rq, p_rq); in yield_to()