sched: Add rq::ttwu_pending
authorPeter Zijlstra <peterz@infradead.org>
Tue, 26 May 2020 16:11:03 +0000 (18:11 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 28 May 2020 08:54:16 +0000 (10:54 +0200)
commit126c2092e5c8b28623cb890cd2930aa292410676
treee3eab4e069fa3150f0388e513296d0dc23759600
parent4b44a21dd640b692d4e9b12d3e37c24825f90baa
sched: Add rq::ttwu_pending

In preparation of removing rq->wake_list, replace the
!list_empty(rq->wake_list) with rq->ttwu_pending. This is not fully
equivalent as this new variable is racy.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200526161908.070399698@infradead.org
kernel/sched/core.c
kernel/sched/debug.c
kernel/sched/fair.c
kernel/sched/sched.h