Re: [RANT][PATCH] sched_ext: Fix stale fair load weight after renice under SCX
From: Linus Torvalds
Date: Fri Dec 04 2026 - 13:14:37 EST
On Fri, 4 Dec 2026 at 06:35, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> I didn't write this patch. Putting my name on it is exactly the same as
> going to ChatGPT and having it create a picture and say that I drew it.
Not exactly. I think the real issue is: "who takes responsibility"
When you paint a picture, there's no "responsibility" involved. It is
what it is. It has no other function than being pretty, and there's no
"maintenance" of the end result.
That's very different with kernel patches.
When you send out a patch, I think the important part is not how you
generated it, but whether you take responsibility for it.
Maybe you generated it with claude. Maybe you used 'sed' or
'coccinelle'. Or maybe you craftyed it carefully by hand and it's an
all-natural and organic human-made patch. But regardless, it's your
work.
And yes, I can find patches from you that were generated with either
sed and coccinelle, and you verified the end result, and you sent them
out as you.
There was no 'Steven Rostedt (Coccinelle)' on those patches. You took
ownership of them, and responsibility for them.
And that's exactly how it should be.
Saying so in the commit message is obviously fine - particularly if
you don't necessarily know the code and cannot vouch for the patch as
much as if it was code you actually know intimately.
But I don't think you should try to foist off authorship on a tool.
Tool-assisted or not, you are the author, and you hopefully take
responsibility for the patches you send out (or commit directly).
[ Or - like I quite often do - maybe you generate patches that are
*not* meant to be actually applied, you then say "This is untested
garbage and I'm throwing it out as an idea in the hopes that somebody
else will take responsibility".
That's my way to explicitly *not* take responsiiility for a patch,
and make it clear that it's an idea, not a final polished product.
And that's also entirely independent of whether any tools were
involved: typically those patches of mine are all very much
hand-generated all-natural organic ones and did *not* go through any
tools that checked them for correctness. It would probably be better
if I did... ]
Linus