Linus Torvalds posts first Claude Code-assisted Linux kernel patch series
Linus Torvalds has posted his first LLM-assisted Linux kernel patch series, a branch named noref-filemap-read-with-llm, saying Claude Code helped write the core code, test programs, review and first draft of the commit message under his direction. The patches target page-cache folio reference-count contention when many threads read the same small file, using RCU-delayed reclaim; reports give conflicting benchmark figures, with an 8-thread test described as roughly 3x (about 10M to 30M+ reads per second) while Tom's Hardware cited a 23x synthetic result that Torvalds said would be far smaller in real workloads. The series remains experimental and unmerged, and reviewers found a race condition that could return unwritten file data, with follow-up work handed to Kiryl Shutsemau; Torvalds also used an LLM on assoc_array code, surfacing bugs dating to 2013.
The series shows a top kernel maintainer using an AI coding assistant for core memory-management code, while human reviewers still caught a race condition before any merge.

ZDNET’s key takeaways
- Torvalds just released a set of patches largely written with Anthropic’s Claude Code.
- The patches address a memory cache slowdown problem when using multiple cores and processors.
- This was Torvalds’ latest step toward embracing AI for Linux development.
It had to happen. Linus Torvalds announced to the world that he used AI to write code for the Linux kernel. Who’d thought it? Well, me for one. Over the last few years, I’ve seen Torvalds’ attitude change from skeptical to seeing AI as a useful tool for programmers and maintainers.
Also: Nvidia’s new Nemotron 3.5 Super VL is another step forward for US open-weight AI
#Linus Torvalds#Linux kernel#Claude Code#Anthropic#Kiryl Shutsemau#Matthew Wilcox#assoc_array