AI

Claude Code helps build a Linux kernel performance fix: Linus Torvalds says it was used for the patch series

Eight patches target page-cache contention and triple tiny-read throughput

Claude Code helps build a Linux kernel performance fix: Linus Torvalds says it was used for the patch series

Manuel Bosque

  • October 13, 2026
  • Updated: October 13, 2026 at 7:37 PM
Claude Code helps build a Linux kernel performance fix: Linus Torvalds says it was used for the patch series

Linus Torvalds has now turned to Anthropic’s Claude Code for a new Linux kernel patch series, and not for some throwaway cleanup. This one goes after a page-cache bottleneck that’s been around for a long time. In the Linux kernel mailing list post, Torvalds says the tool, working under his direction, produced the eight patches, the test programs, the review work, and even the first draft of the cover letter. The target is a very real slowdown: multiple threads doing tiny reads from the same cached file, which ends up hammering folio reference counts and bouncing a cache line back and forth across CPU cores.

Torvalds gave a concrete example. On a 4-core, 8-thread Intel Core i7-8565U, he said that eight threads issuing 16-byte pread() calls against the same page caused one shared cache line to account for 99.92% of cross-core load through HITMs.

Claude Download

The fix, as Torvalds described it, is to delay page-cache memory reuse until an RCU grace period has passed. That lets readers inside an RCU read-side section copy data into user buffers without first grabbing a folio reference, while still preserving memory safety. In Torvalds’ testing, throughput went from roughly 10 million reads per second to more than 30 million.

If you keep an eye on Linux performance work, this patch series is one to watch.

Torvalds is still drawing a hard line on responsibility. People have to direct the tool, review the output, and understand the code they’re sending in. He also says Linux kernel contributions that use tools like this now need clear disclosure, including tags such as Co-developed-by. If you want to track the series, it’s on the Linux kernel mailing list.

Visual Studio Code Download

Choose Softonic on Google and you'll see more of our articles in Top Stories, AI Overviews and AI Mode.

Manuel Bosque

Manuel Bosque covers software at Softonic: desktop programs, productivity tools and the small utilities that solve one problem well. His approach is practical — what a program actually does, what it asks in return and who it is for — which is why he distrusts feature lists and prefers to test. He is part of the team that decides how software gets covered on the site, and works daily with AI tools applied to editorial production.

Editorial Guidelines

Latest Articles

Loading next article

Signed in to Softonic as