Linus: the human who sends a patch is its author, AI or not
A Claude-written sched_ext fix for a stale fair load weight revived a known bug, then a fight over who owns the commit.
Steven Rostedt posted a Linux scheduler fix he said he did not write. The From line read "Steven Rostedt (LLM)", the changelog was mostly Claude's, and the subject was tagged as a rant. The bug is real. Changing a task's nice value while a BPF scheduler under sched_ext is running updates only the ext-class weight. The fair-class load weight stays at the old value, and nothing refreshes it when the task returns to fair scheduling or when the BPF scheduler is unloaded. Forked children inherit the stale weight. In a test with two CPU-bound tasks pinned to one CPU, a nice-10 task that should have received roughly a tenth of the CPU instead split time evenly with a nice-0 task until something else recomputed the weight.
Andrea Righi said the bug was already known. He and Peter Zijlstra had settled on rebuilding the fair load weight when a task switches back to the fair class, so sched_ext does not have to keep fair's inactive state correct. Zijlstra said the earlier series was likely lost in mail volume, and in new versions posted as replies to old ones. Rostedt said he would tell his "junior AI agent" the patch would not be accepted.
The exchange then left the scheduler. Rostedt argued that putting his name on work he only reviewed was like claiming he drew a picture ChatGPT made. Linus Torvalds rejected the analogy. A picture has no maintainer. A kernel patch does. "The important part is not how you generated it, but whether you take responsibility for it." Sed, Coccinelle, or Claude, Torvalds wrote, the person who sends the patch is the author. Tools are not authors, "not dumb ones, but not even smart ones." Saying so in the commit message is fine, especially if the sender cannot vouch for unfamiliar code. Assigning authorship to the tool is not.
Rostedt answered that Signed-off-by already carries legal and practical responsibility, and that the Author line is about credit. Unlike Coccinelle, he said, he did not write the transformation: he told an agent to look, then reviewed the result, including a reproducer. He called it a "Turn me from engineer to manager" change, and said it left none of the satisfaction of mentoring a junior engineer. If a later bug turned up in vibe-coded code, he would not bother the nominal author, because the tool likely understands the change better than the person who submitted it. He wants that fact mandatory in the changelog, and floated a tag, "Vibe-coded-with:", as more specific than Assisted-by.
The load-weight fix itself remains the earlier design, not the patch Claude wrote.