Re: [RANT][PATCH] sched_ext: Fix stale fair load weight after renice under SCX

From: Steven Rostedt

Date: Fri Dec 04 2026 - 14:30:01 EST


On Fri, 4 Dec 2026 10:57:12 -0800
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Fri, 4 Dec 2026 at 10:47, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > But isn't that what the Signed-off-by is for?
>
> Yes - both legally and in a "if problems show up". But the first
> author is special.

I don't understand how much special it is compared to the last
Signed-off-by. There's a lot of drive-by authors where if there's a problem
with the code, that ends up on the maintainer's lap and not the author,
because the author is nowhere to be found. AI is even making this more of
a problem.

>
> And tools are not authors. Not dumb ones, but not even smart ones.
>
> Coccinelle isn't an author, and the fact that coccinelle is hard to
> use is not an argument for why you - and not it - isn't the author.

I already stated I'd be happy to give the author credit to Coccinelle ;-)

>
> Yes, claude is easier to use and a lot more powerful. But that doesn't
> change a thing.

It wasn't just about ease of use, it was the fact that it did the actual
design. With Coccinelle and sed, you are still 100% in control. But with
AI, you just sit back and watch the token counter tick up to relax as it
does all the thinking for you. That is the main difference and I didn't
realize this until this patch was created. Very little thinking on my part
was involved.

It was how the AI found the bug, created a fix, found a reproducer and test
case for it, and posted the results. This isn't "ease of use", this is "Turn
me from engineer to manager" level of change. I've never used a tool that
was no different than helping out a human do the same thing.

One big difference between an AI tool and helping a human was the lack of
accomplishment I felt. I'm always very proud when I help mentor a new
developer that makes their first kernel patch. I did basically the same
work here, but without that satisfaction. In fact, I feel a bit dirty for
doing it. :-( That's because I wasted this effort on a bot and not an
actual human being.

Note, I'm not against using AI in this manner. Quite the opposite as I see
a lot of advantages for it. But I also see the danger of this being a brain
drain for up and coming programmers. A lot of my experiences come from
making my own mistakes and learning from them. AI will be making similar
mistakes, but will it learn. Will AI be able to mentor people?

Anyway, I still hate putting my name as author to something I obviously
didn't write, even if I'm willing to take full responsibility for it. In
the near future, we will not know who is a skilled programmer from who has
a good AI model. It may not make a difference in the project, but it
certainly makes a difference from who you want to learn from.

-- Steve