Linus Torvalds submitted a 10-patch series to address a Linux kernel page-cache performance issue that developers have been working on for over two years. Torvalds utilized Anthropic's Claude Code to generate the implementation, tests, and initial documentation for these patches. He personally ran benchmarks, which showed a 23-fold throughput improvement in a synthetic test on his Ryzen Threadripper.
The problem involves a page-cache reference-counting bottleneck. Torvalds had previously run a broken version of his own fix for 18 months, and other developers also faced issues with their approaches. The new patches aim to eliminate folio reference-count operations from a common buffered-read path. Torvalds noted that real-world performance gains would likely be smaller than the benchmark results.
Following the submission, reviewers identified a race condition within the patches and raised concerns regarding memory reclamation. As a result, Torvalds has transferred the responsibility for further development and refinement of the fix to Kiryl Shutsemau, a Linux kernel developer who has previously worked on the same bottleneck.
The page cache contention problem was highlighted in 2024 by Matthew Wilcox, an Oracle engineer, after it appeared in a customer workload. On Torvalds’ Core i7-8565U laptop, folio reference-count contention accounted for 99.92% of cross-core load HITMs in eight-thread tests, according to Hardware Busters.
The experimental branch, named 'noref-filemap-read-with-llm', was spotted in Torvalds' tree. Torvalds stated that Claude Code wrote the implementation, tests, and initial documentation, and reviewed the code under his direction. The subsequent 'rcu-free-v3' series uses a new PG_rcu_free flag and RCU-delayed reclamation to protect the folio during userspace copy.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Linus Torvalds used Anthropic's Claude Code to generate patches for a long-standing Linux kernel page-cache performance bottleneck, resulting in a 23-fold throughput improvement in a synthetic benchmark. However, reviewers subsequently identified a race condition and memory reclamation concerns in the submitted 10-patch series. Torvalds has transferred further development to Kiryl Shutsemau.