Re: [PATCH v6 0/3] Fix uclamp race against non atomic static key enable
From: Qais Yousef
Date: Tue Nov 24 2026 - 02:21:36 EST
On 11/23/26 09:19, Christian Loehle wrote:
> On 11/21/26 04:15, Qais Yousef wrote:
> > Latest version drops the partial revert (patch 3 in v5) as RT group
> > throttling is going to be marked as broken and anyway a proper fix will
> > require non trivial rewrite how dequeue happens for throttled tasks or
> > full revert of subtracting nr_running added 10 years ago. Both of which
> > is not appealing and with the proposal to mark this feature as broken,
> > better leave it and hopefully just delete the problem area.
> >
> > So in summary RT throttling is not fixed and being ignored. Fair
> > throttling is fixed by pairing uclamp_rq_inc/dec with
> > add/sub_nr_running. For RT, we do that in inc/dec_tasks() which are
> > called when tasks are actually enqueued/dequeued - as stated will fail
> > in RT throttling case. Given the minor severity of the problem and
> > effort required to restructure part of RT group throttling that is being
> > marked broken as we speak, I think this should do.
> >
> > Changes since v5:
> > - Drop patch 3 to partial revert subtracting rq->nr_running for
> > RT throttling.
> > - Drop fixes tag from patch 1 as the series now is partially
> > fixed and not suitable for LTS.
>
> Is this how this is done? I guess we could also NAK the backports?
> Also presumably this was observed in live systems, so is not-backporting
> an option?
Is this the best way you could phrase your question? I asked clearly for
feedback on v5 and you kept quite. If you have such strong opinion, speak up
next team at the right moment instead of trolling like this.
FWIW except for RT group throttling breakage, patch 1 and
3 could go to stable. Not sure what would be the right fixes tag for patch 3.
FWIW I work with Wei who reported this and this is not a wide spread disaster
walking on earth. It has taken more effort than it is truly worth actually.