Linux Maintainers End AI-Code Disclosure Requirement as Torvalds Defends LLM Use
Linux maintainers dropped AI-code disclosure rule; Torvalds defended it and posted an LLM-assisted patch.
The change means people can submit AI-generated code without identifying it as such. In correspondence about concerns over removing the disclosure, Linux creator Linus Torvalds defended the decision. He compared an AI ban to getting rid of text editors and asked, 'Do you not see how UTTERLY STUPID those kinds of rules would be?' Torvalds said he expects people working on the Linux kernel to 'understand what they are doing.' He added: 'Quite honestly, in my experience, the people I respect and call intelligent are not the ones that shy away from using new and interesting tools.'
Torvalds has also described using AI to help him understand patches that were hard to follow. Tom's Hardware reported this week that he posted an LLM-assisted patch in a development branch aimed at fixing an old issue with massive cache contention when many CPUs read the same file, a scenario that can arise with shared libraries, databases and web servers. Several developers had tried to fix the issue over the years with varied results, and none produced an all-encompassing solution, according to the report.
Torvalds claimed a 23x performance improvement in a dedicated synthetic benchmark but said real-world impact would be far less significant because 'no real load' would see those figures, Tom's Hardware reported. The New Stack reported that Torvalds used Anthropic's Claude Code and said the assistant wrote the implementation, tests and initial documentation and reviewed the code under his direction. He ran the benchmarks himself, despite having previously criticized developers for claiming AI writes 99% of their code, according to The New Stack.
On Tuesday, Torvalds submitted a 10-patch series, The New Stack reported. Reviewers have since identified a race condition and raised concerns about memory reclamation. Torvalds has handed further development to Kiryl Shutsemau, a Linux kernel developer who previously worked on the same bottleneck.