What I like most about Linus Torvalds using AI is how boringly honest the credit is.

He has now used it on real kernel work twice this year, and neither time did he hide it. The first was in August, an Intel Xe graphics driver bug on a Battlemage card that made GDM restart endlessly. Phoronix reports it took 24 debug patches and 18 kernel boots to pin down, and the cause was a single line where round_up() should have been round_down(). Torvalds calls it a debug session from hell, “enormously helped” by an AI doing the grunt work. The AI added the debug code and wrote the commit message, and he wrote and committed the fix himself. It landed in Linux 7.3 and is marked for stable backports.
The second is a branch from October, noref-filemap-read-with-llm: eight patches on top of 7.3-rc6 that go after page-cache contention when many threads read the same file. According to It’s FOSS, the commit message credits Claude Code, working under his direction, for the code, the test programs, the review of known issues and the first draft of the text. Torvalds ran the measurements himself. On his laptop, eight threads reading one file went from about 10 million reads per second to 30 to 33 million. The series is not merged and has no target release.
At Open Source Summit Europe in Prague he also said he really likes using AI, after calling the AI industry mostly marketing in 2024. Nobody here is claiming a revolution, me included. The commit lists what the tool did and what the human checked, and that’s the policy I’d like everybody to copy.
Further reading: Phoronix: Linus Torvalds endures a debug session from hell, enormously helped by AI, Phoronix: Linus Torvalds working on a hefty kernel improvement with Claude Code, It's FOSS: Linus Torvalds says he likes using AI
