cd /news/artificial-intelligence/linux-creator-tested-artificial-inte… · home › topics › artificial-intelligence › article
[ARTICLE · art-149790] src=dev.to ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Linux creator tested artificial intelligence for faster memory management

Linus Torvalds used Anthropic's Claude Code assistant to write experimental Linux kernel patches that speed up page cache reads by removing folio reference counting. Benchmarks on his personal laptop showed roughly tripled throughput in eight-thread tests, from about 10 million to 30-33 million reads per second, though the code remains an unmerged experiment named noref-filemap-read-with-llm based on Linux 7.3-rc6.

by read1 min views1 publishedOct 12, 2026

Linus Torvalds experimented with Anthropic's Claude Code assistant to write experimental patches for the Linux kernel, focusing on page cache reading without folio references.

The October commit details performance measurements and implementation under his direct supervision.

Torvalds used a digital programming assistant from Anthropic, Claude Code. Under his instructions, the artificial intelligence system wrote eight fixes and test programs, and also helped with the initial text of the announcement.

The goal was to improve the way Linux reads data that is temporarily stored in memory. The experimental changes allowed data to be read without having to constantly update additional counters, reducing delays when different parts of the computer try to read the same information.

The changes were tested on Torvalds' personal laptop, using an Intel Core i7-8565U processor and ext4 storage, with some security settings disabled.

In tests with eight threads reading small data repeatedly, the speed tripled from about 10 million reads per second to 30 to 33 million. With four threads on separate cores, the performance went from about 9 to 12 million to 25 to 26 million. Even in a single-thread test, the speed went from about 8 million to almost 9 million reads per second.

Torvalds guided the process, reviewed the code, and ran performance benchmarks himself. He noted, however, that there are several unresolved issues, such as memory management behavior, potential incompatibilities, risk of negative side effects, and question marks over overall behavior.

The code is available as an experiment called noref-filemap-read-with-llm, based on Linux version 7.3-rc6, and has not been officially integrated into the mainline operating system.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @linus torvalds 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/linux-creator-tested…] indexed:0 read:1min 2026-10-12 · —