Re: [PATCH] sched: Consider task_struct::saved_state in wait_task_inactive().

From: Sebastian Andrzej Siewior
Date: Fri Jun 02 2023 - 06:50:06 EST


On 2023-06-02 12:37:31 [+0200], Peter Zijlstra wrote:
> ---
> Subject: sched: Unconditionally use full-fat wait_task_inactive()
> From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Date: Fri Jun 2 10:42:53 CEST 2023
>
> While modifying wait_task_inactive() for PREEMPT_RT; the build robot
> noted that UP got broken. This led to audit and consideration of the
> UP implementation of wait_task_inactive().
>
> It looks like the UP implementation is also broken for PREEMPT;

If UP is broken for PREEMPT, shouldn't it get a fixes or stable tag?

Eitherway, I will try to stuff this in RT today and give feedback. I
actually never booted this on UP, will try to do so today…

Sebastian