Re: [PATCH v6] sched: do not call __put_task_struct() on rt if pi_blocked_on is set

From: Oleg Nesterov
Date: Mon Aug 11 2025 - 08:21:28 EST


On 08/11, Sebastian Andrzej Siewior wrote:
>
> On 2025-08-11 13:06:18 [+0200], Oleg Nesterov wrote:
> > On 08/11, Sebastian Andrzej Siewior wrote:
> > >
> > > On 2025-08-01 12:24:29 [+0200], Oleg Nesterov wrote:
> > > > s/LD_WAIT_SLEEP/LD_WAIT_CONFIG/ needs another discussion even if I am right,
> > > > sorry for the confusion.
> > >
> > > You are correct Oleg. I've been just verifying it and yes: LD_WAIT_SLEEP
> > > suppresses also mutex while the intention is to only suppress
> > > spinlock_t.
> >
> > Good, thanks.
> >
> > > We have four users in tree, based on quick check all four should use
> > > CONFIG, three of them do use SLEEP.
> >
> > Yes. I'll send the simple patch when this patch from Luis is merged.
>
> Okay. Let me cover then the other instances.

I was going to update them all, but feel free to do.

Oleg.