From: Qais Yousef <qyousef@layalina.io>
To: Christian Loehle <christian.loehle@arm.com>
Cc: Ingo Molnar <mingo@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Vincent Guittot <vincent.guittot@linaro.org>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
John Stultz <jstultz@google.com>,
linux-kernel@vger.kernel.org,
Kayra Cizmeci <kayracizmeci@gmail.com>
Subject: Re: [PATCH v6 0/3] Fix uclamp race against non atomic static key enable
Date: Tue, 24 Nov 2026 07:54:47 +0000 [thread overview]
Message-ID: <awVBQAqIYONWmEaV@aerith> (raw)
In-Reply-To: <6c8a8583-e7b0-4331-a92d-ba174e926755@arm.com>
On 11/24/26 07:35, Christian Loehle wrote:
> On 11/24/26 07:21, Qais Yousef wrote:
> > 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.
>
> Qais, I don't know which part of my phrasing came off badly here but it
> clearly did.
> The above questions are genuine, I was just wondering what the correct
> way of 'fixes' are that we don't want backported (yet?), afaics the obvious
> options are:
> - Omit the fixes tag (like $SUBJECT does), but that obviously loses the
> information that this is a fix.
> - Keep the fixes tag, which most likely leads to stable AUTOSEL picking it
> up, it lands in stable review and we can NAK it there to prevent backporting.
>
> I'm not sure which one is preferred, that is why I phrased it as a question.
> I don't have a strong opinion that is why I hadn't responded to v5.
> That is all.
Okay nevermind. It did read badly for me.
I have no idea how to deal with this tbh. This snowballed and sometimes you
just need to let go and move on. I doubt either way many (or any) would be
impacted badly.
Thanks.
prev parent reply other threads:[~2026-11-24 7:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 4:15 Qais Yousef
2026-11-21 4:15 ` [PATCH v6 1/3] sched/uclamp: Fix race condition leading to imbalanced uclamp_rq Qais Yousef
2026-11-23 14:38 ` Christian Loehle
2026-11-23 17:23 ` Vincent Guittot
2026-11-23 18:15 ` Christian Loehle
2026-11-24 7:40 ` Qais Yousef
2026-11-21 4:15 ` [PATCH v6 2/3] sched/uclamp: Use wrappers instead of open coding UCLAMP_FLAG_IDLE Qais Yousef
2026-11-21 4:15 ` [PATCH v6 3/3] sched/uclamp: Move uclamp_rq_{inc, dec}() from core.c Qais Yousef
2026-11-22 17:22 ` [PATCH v6 0/3] Fix uclamp race against non atomic static key enable Qais Yousef
2026-11-23 9:19 ` Christian Loehle
2026-11-24 7:21 ` Qais Yousef
2026-11-24 7:35 ` Christian Loehle
2026-11-24 7:54 ` Qais Yousef [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awVBQAqIYONWmEaV@aerith \
--to=qyousef@layalina.io \
--cc=christian.loehle@arm.com \
--cc=dietmar.eggemann@arm.com \
--cc=jstultz@google.com \
--cc=kayracizmeci@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=vincent.guittot@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®