Linus Torvalds Embraces AI, as His New Commit Message Credit Claude

Table of Contents
In a striking reversal of his past skepticism, Linux creator Linus Torvalds has not only admitted he enjoys using AI, he’s now shipping kernel code built with its help.
A new branch in Torvalds’ own kernel repository, named noref-filemap-read-with-llm, contains an eight-patch series built on Linux 7.3-rc6 plus fixes.
While the commit message offers no target release for merging, its contents mark a significant milestone. The commit message itself credits Claude Code, working under Torvalds’ direction, for assisting with the code, test programs, a draft of the commit message, and even the review behind its list of known problems.
What did he actually FIX? #
The patch series addresses a performance bottleneck that dates back to 2024, when Matthew Wilcox flagged the issue based on a customer’s workload.
When many threads read the same file, the kernel serves them from the page cache, its in-memory copy of recently read data. Currently, each read takes a hold of the cached data and releases it afterward. Every thread updates the same counter to do so, causing threads to trip over each other.
Torvalds’ patches skip that step entirely. To keep it safe, memory leaving the cache isn’t handed out for reuse until a short period has passed, allowing a reader to copy data directly without holding anything. The trade-off: more memory sits idle briefly.
The payoff, measured on Torvalds’ own laptop with some security protections disabled, is dramatic—eight threads reading one file jumped from about 10 million reads per second to between 30 and 33 million.
“I Actually Really Like Using AI” #
The kernel work follows comments Torvalds made Friday at Open Source Summit Europe in Prague, where he spoke with longtime friend Dirk Hohndel, head of Ericsson Software Technology.
ZDNet’s Steven Vaughan-Nichols, who attended, quotes Torvalds saying, “I actually really like using AI.”
Torvalds said he used to think AI wasn’t very good but has changed his mind. He now views it as a tool that works well when treated as such—and one that makes programming more enjoyable for him.
His personal example: a guitar pedal project with an interface he’d written in C. Wanting a more modern look, he turned to AI. “I use AI to do the things that I’m bad at,” he said.
He also defended vibe coding as “a wonderful way to find joy in programming,” particularly for newcomers. But he acknowledged a growing concern: while AI improves the code base, the load it places on maintainers has become a real problem.
A Notable Shift #
This isn’t Torvalds’ first dance with AI on kernel work. In August, he used it to help fix a bug in the Intel Xe graphics driver.
But the public embrace represents a remarkable evolution. In 2024, Torvalds dismissed the AI industry as “90 percent marketing and 10 percent reality.” Now, he’s actively using it for kernel work—and crediting it in his commits.
For a developer known for his blunt assessments and hands-on approach, the message is clear: AI has earned a place in the kernel workflow, at least in Torvalds’ branch.