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

- October 13, 2026
- Updated: October 13, 2026 at 7:37 PM

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.
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.
Choose Softonic on Google and you'll see more of our articles in Top Stories, AI Overviews and AI Mode.
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.
Latest from Manuel Bosque
You may also like
NewsNintendo Switch 2 hits $499: PS5, Xbox and Steam Deck prices are up too
Read more
NewsThe Rings of Power season 3 forges the One Ring at last: Prime Video planned it for years
Read more
NewsClockwork Revolution now targets 2027: the BioShock comparison is real
Read more
NewsGTA 6 on PS5 could unlock early in New Zealand: play up to 13 hours ahead
Read more
NewsStellar Blade Complete Edition is out on Switch 2: Digital Foundry says it’s better than expected
Read more
NewsFortnite reveals Pirate Shop Access odds after backlash: 1 in 137,500
Read more