news.herich.cloud
Archived text mirror · columns · archive · trending · search
Lobsters October 12, 2026 2 min signal 2026-10-12

Linus Torvalds working on a hefty Linux kernel improvement with Claude Code

Archived text mirror, captured for personal reading when the Signal ran. Formatting is approximate — read the original at the source.

Linus Torvalds Working On A Hefty Linux Kernel Improvement With Claude Code

Written by Michael Larabel in Linux Kernel on 11 October 2026 at 08:16 PM EDT. 48 Comments

Linux creator Linus Torvalds has been known to use AI to help with kernel debugging and outside of the kernel tree has also done some vibe coding with Google's Antigravity. He has previously said he views AI as a useful tool. It turns out he's even now using Claude Code for working on new Linux kernel features.

While waiting for the Linux 7.3-rc7 kernel release and refreshing his torvalds/linux.git repository, I was surprised to find a new kernel branch appear. Typically Torvalds isn't doing much work on branches in his main repository and typically just hosting the master branch.

The new branch to appear is noref-filemap-read-with-llm and as implied by the "LLM" postfix, is some new kernel improvements he's been working on with the help of AI / LLMs. Claude Code in particular. The branched code is working on adapting the memory management code to read from the page cache without folio references.

The code is working on addressing a Linux issue of small reads of one file from many threads contend on the folio reference counting. So the goal of the branch / patch series is to read from the page cache without folio references.

For those passionate about AI for loving or hating it, in the main patch message Linus Torvalds confirmed his AI use in creating this work and related testing and even the initial draft of the cover letter:

"The code, the test programs, the review behind the list above and the first draft of this text were done with an LLM coding assistant (Claude Code) under my direction. The measurements were run on my machine."

And for the impact on this situation of addressing the bottleneck of small reads of one file from many threads, the impact of the series is significant:

Quite a difference. The patches are currently on Torvalds' noref-filemap-read-with-llm Git branch. We'll see if he merges his branch for the upcoming Linux 7.4 merge window.

Update: Some additional AI kernel usage by Torvalds with Linus Torvalds "Did What I Preach", Used AI To Make Code Decipherable & Uncovered More Bugs.

48 Comments

← latest Signal