Skip to content

AnthropicAgents

Linus Torvalds published an experimental Linux kernel patch series that he built with Claude Code

Torvalds says the code, tests and first draft of the text of his 8-patch series to speed up page cache reads were done with Claude Code under his direction.

Story date On the site Türkçe

4 sourcesJump to sources

Sources: Linus Torvalds, Phoronix, Linuxiac

In this story
  1. Sources4
  2. About this story
  3. On the same topic3

Linus Torvalds published an experimental eight-patch series on a branch called noref-filemap-read-with-llm. According to the commit message dated October 10, the code, the test programs, the review and the first draft of the text were done with an LLM coding assistant (Claude Code) “under my direction.” The measurements were run on his own machine.

It targets folio reference count contention when many threads make small reads of one file. Memory removed from the page cache is freed only after an RCU grace period, so reads can copy without a reference. On Torvalds’ laptop, eight threads went from about 10 million to 30-33 million reads per second. A 10-patch rcu-free-v3 version dated October 13, including two patches by Kiryl Shutsemau, reports 13.3 million to 304 million reads per second with 64 threads on a Threadripper.

The patches have not been merged. Torvalds calls the memory waiting to be freed “the part of this series that is least solved.”

Sources

4 sources
  1. Linus Torvalds (linux.git, kernel.googlesource.com aynası)“mm: read from the page cache without folio references”Original commit; Claude Code disclosure, laptop measurements and list of known problems · kernel.googlesource.com
  2. Linus Torvalds (torvalds/linux, GitHub)“mm/filemap: read from the page cache without folio references”Revised version on the rcu-free-v3 branch; Assisted-by: LLM tag and Threadripper measurements · github.com
  3. Phoronix“Linus Torvalds Working On A Hefty Linux Kernel Improvement With Claude Code”First report to spot the branch · phoronix.com
  4. Linuxiac“Linus Torvalds Experiments with AI-Generated Kernel Code, Sees 3x Speedup”Summary of the patches and laptop measurements · linuxiac.com

About this story

Written by
· JARRUS
Story date
On the site
since Oct. 15, 2026
Report an error
Spotted an error in this story? [email protected] · Instagram

On the same topic

  1. 1 source

    Berkeley test: Claude Opus 5.5 beat the human solution on 28 of 48 tasks taken from published papers

  2. 1 source

    Claude is now on Apple Watch, with permission requests from connected tools approved from the wrist

  3. 1 source

    AWS will run Claude inside companies’ own data centers for the first time