ZDNET’s key takeaways
- Torvalds flames a huge pull request with thousands of unnecessary lines.
- The maintainer apologized and offered an explanation.
- Torvalds values AI if developers use it properly.
Linus Torvalds, Linux’s creator, went on an old-time rant just before Thanksgiving. In response to a 94-commit pull request (PR) for Linux 7.4-rc5 that added 41,204 lines across 68 files, Torvalds roared:
STOP THINKING THAT YOU – OR AI – NEVER ADD BUGS WHEN YOU FIX SOMETHING.
There’s a why we have release candidates and several weeks of calming things down.
Yes, I’m pissed off. Why the hell people have such a hard time understanding such a simple concept is hard to understand.
If you think that “41,197 insertions” is ok and cannot introduce new problems just because most of it won’t be compiled or because they were fixes for other things, you are full of crap.
As for the AI horse the maintainer rode in on, “And tell your AI companion to get its act together, and do any new development and test cases ON A SEPARATE DAMN BRANCH, so that it can be merged during the MERGE WINDOW.”
Tell us how you really feel, Linus.
A veteran ext4 maintainer’s mistake
This time, though, instead of blasting a newish developer who blew it, he was snarling at the ext4 file system maintainer Theodore Ts’o, who has been a kernel developer and maintainer since 1991.
Also: This Hyprland Linux distro blew me away – now it’s a cautionary tale
The trouble started when Ts’o sent Torvalds this huge PR late in the release candidate (RC) build process, which is supposed to be about fixing bugs, and not adding much code. Torvalds said a pull that size belongs in the merge window, and that calling something a fix doesn’t make it one.
Nevertheless, Torvalds took it “despite serious reservations and some bad conflicts.” But if it happens again, then next time he’d just ignore it.
Now, Ts’o has maintained ext4 for decades, and Torvalds has been yelling at kernel developers for even longer, but this isn’t a feud. I’ve known them both for a long time, and they usually get along well.
The maintainer’s response
T’so quickly poured oil on the troubled waters: “Yeah, sorry. The tests were on a separate branch, and I deliberately put it at the end so if you had objected, I could very easily drop them from the pull request and just send you the commits. So if you want to unpull, I can send you a revised pull request, and I’ll save the tests for the merge window.”
Also: Linux Mint 27 arrives soon, and I like it already: New features, upgrades to expect
Torvalds still objected partly but merged it anyway. The heart of his position, “Thou shalt not pack the RCs with junk,” is an ancient one. As Torvalds said back in May, “If you found a bug using AI tools, the chances are somebody else found it too. If you actually want to add value, read the documentation, create a patch too, and add some real value on *top* of what the AI did. Don’t be the drive-by ‘send a random report with no real understanding’ kind of person.”
How Torvalds really feels about AI
It’s not that he’s mad at people for using AI. The opposite is true. As he said back in July, “AI is a tool, just like other tools we use. And it’s clearly a useful one.” Indeed, he now uses it himself to write Linux kernel code.
What he demands, though, is that you use AI carefully so that maintainers aren’t overwhelmed with unnecessary AI-generated materials that can add more work and bugs to their already overly heavy workload. If you don’t, well, Torvalds will remind you once again, and loudly, to use AI responsibly.