Messages in this thread | | | Date | Fri, 26 May 2023 10:47:49 +0200 | From | Sebastian Andrzej Siewior <> | Subject | Re: [PATCH] sched: Consider task_struct::saved_state in wait_task_inactive(). |
| |
On 2023-05-25 18:52:44 [+0200], Peter Zijlstra wrote: > Urgh... > > I've ended up with the below.. I've tried folding it with > ttwu_state_match() but every attempt so far makes it an unholy mess. > > Now, if only we had proper lock guard then we could drop another few > lines, but alas.
perfect, thank you. Tested the bits.
Sebastian
| |