Back to News
T

Torvalds's AI-assisted Linux page-cache patches

News Oct 12, 2026

Linus Torvalds credits Claude Code with assisting an experimental eight-patch series that changes how Linux reads cached files.

3 sources attached

What happened lately

Torvalds's AI-assisted Linux page-cache patches timeline

Linus Torvalds has published an experimental Linux branch containing eight patches aimed at reducing contention when many threads read the same cached file. In the branch’s English commit message, he says Claude Code, working under his direction, produced the code, test programs, review and a first draft of the explanation. Torvalds says he ran the measurements himself. The branch and its main commit are dated October 10; English reporting and community discussion brought them wider attention on October 12.

The proposed approach lets a reader copy cached data without taking a reference to each page, while delaying reuse of removed pages until an RCU grace period has passed. Torvalds reports substantially faster tiny reads in a test on his own laptop, with mitigations and hardened user-copy checks disabled. He also lists unresolved memory and testing concerns. These are early, hardware-specific results from an unmerged branch, not a speedup already delivered to Linux users.