Linus Torvalds loses his temper over a 41,000-line Linux kernel 'fix' and still merges it.
Linus Torvalds merged a huge AI-related Linux 7.4-rc5 pull request after warning that late-cycle kernel changes need strict review discipline.
Key Takeaways
- Linus Torvalds criticized a large Linux 7.4-rc5 pull request containing 94 commits and about 41,200 added lines, but still merged it despite concerns.
- The change came from ext4 maintainer Theodore Ts’o during the release-candidate stage, when only bug fixes and code stabilization are expected.
- Torvalds warned that large AI-assisted additions should go through the normal merge window, not late release candidates, and that AI-generated fixes can still introduce bugs.
- Ts’o apologized and explained that the new tests were already on a separate branch and could be deferred to the merge window.
- Torvalds is not opposed to AI itself, but insists on disciplined use: contributors should provide real understanding, quality patches, and avoid overwhelming maintainers with unnecessary AI-generated material.
Linus Torvalds Merges Linux 7.4-rc5 Pull Request After AI Warning

As reported by ZDNET, Linus Torvalds, the creator of Linux, publicly criticized a large pull request submitted for Linux 7.4-rc5 and then merged it, a move that shows how AI-assisted code can strain the Linux kernel review process when it arrives late in a release cycle. The pull request contained 94 commits and added 41,204 lines across 68 files. In Torvalds's response, he referred to 41,197 insertions.
Background: A large change arrived late in the release candidate
The episode began just before Thanksgiving, during the release candidate stage for Linux 7.4-rc5. Release candidates are meant for bug fixes and for calming the code down over several weeks, not for large additions. The pull request came from Theodore Ts'o, the ext4 file system maintainer. Ts'o has been a kernel developer and maintainer since 1991, so the criticism was aimed at an experienced maintainer rather than a new contributor.
Torvalds said that a change of that size belongs in the merge window, not in a late release candidate. He warned that developers and AI tools should not be assumed to never add bugs when fixing something. He also said that treating many insertions as acceptable because much of the code will not be compiled, or because the changes are presented as fixes, is not a valid way to judge the risk. He told the maintainer to have any AI companion put new development and test cases on a separate branch so they can be merged during the merge window.
Development: Torvalds objected, then accepted the change
Despite his objections, Torvalds accepted the pull request despite serious reservations and some bad conflicts. He said that if a similar situation happens again, he would ignore it. The episode was not described as a feud between Torvalds and Ts'o; the two are known to get along well.
Ts'o responded quickly, apologizing and explaining that the tests were already on a separate branch. He said he placed them at the end of the pull request so Torvalds could drop them easily if he objected. Ts'o offered to send a revised pull request if Torvalds wanted to unpull the change, and said the tests could be saved for the merge window.
Latest progress: AI is accepted, but discipline is required
Torvalds's criticism was not a rejection of AI itself. As he said in July, AI is a tool, just like other tools used in development, and it is clearly useful. He has also said that he uses AI himself to write Linux kernel code.
The concern is how AI-generated material enters the kernel. In May, Torvalds said that if someone finds a bug using AI tools, chances are somebody else found it too. He said that contributors should add real value by reading documentation, creating a patch, and building on what the AI did, instead of sending a random report with no real understanding. He has also warned that developers should use AI carefully so maintainers are not overwhelmed with unnecessary AI-generated materials.
Current stage: The change is merged, and the process boundary remains visible
The Linux 7.4-rc5 pull request has been merged, leaving the release process boundary in view: Torvalds values AI when developers use it properly, while large or late additions remain tied to the merge window rather than late release candidates.
Comments
No comments yet. Be the first to comment.