Linus Torvalds Working On A Hefty Linux Kernel Improvement With Claude Code
Linus Torvalds published an experimental eight-patch branch, noref-filemap-read-with-llm, developed with Claude Code to optimize page-cache reads. The patches aim to reduce folio-reference contention and improve memory management. In a benchmark using an eight-thread, 16-byte-read setup, Torvalds reported throughput increasing from approximately 10 million to 30-33 million reads per second. While Torvalds stated he uses AI for tasks he is bad at, the code remains experimental and has not been merged into the mainline Linux kernel following the discovery of a race condition by reviewers.
Listen to Live Briefing
Real-time synthesized voice briefing · Live Feeds Desk
- ✓ Linus Torvalds used Claude Code to develop an experimental Linux kernel branch named noref-filemap-read-with-llm.
- ✓ The patch series targets page-cache reads to avoid folio-reference contention.
- ✓ Torvalds reported read throughput rose from roughly 10 million to 30-33 million reads per second on an eight-thread, 16-byte-read benchmark.
- ✓ The AI-generated changes have not been merged into the mainline Linux kernel.
What changed
Torvalds integrated Claude Code to rewrite page-cache reads in a specific experimental branch to boost throughput.
Live updates
-
Linus Torvalds Uses Claude Code for Experimental Linux Kernel Optimization
Linus Torvalds published an experimental eight-patch branch, noref-filemap-read-with-llm, developed with Claude Code to optimize page-cache reads. The patches aim to reduce folio-reference contention and improve memory management. In a benchmark using an eight-thread, 16-byte-read setup, Torvalds reported throughput increasing from approximately 10 million to 30-33 million reads per second. While Torvalds stated he uses AI for tasks he is bad at, the code remains experimental and has not been merged into the mainline Linux kernel following the discovery of a race condition by reviewers.
Why it matters
The Linux community is currently debating rules for LLM-generated content and whether AI belongs in the kernel. Torvalds has previously used AI for debugging and vibe coding with Google's Antigravity. This shift indicates a changing relationship between the kernel's creator and AI tools for systems programming.
What is confirmed
- Linus Torvalds used Claude Code to develop an experimental Linux kernel branch named noref-filemap-read-with-llm.
- The patch series targets page-cache reads to avoid folio-reference contention.
- Torvalds reported read throughput rose from roughly 10 million to 30-33 million reads per second on an eight-thread, 16-byte-read benchmark.
- The AI-generated changes have not been merged into the mainline Linux kernel.
- Torvalds stated that he really likes using AI to do things he is bad at.
- Torvalds believes AI is an entry tool for programming but requires caution for important work.
Still unconfirmed
- Phoronix reported three benchmark setups and left Linux 7.4 integration unresolved.
What to watch next
- Whether the noref-filemap-read-with-llm branch is merged into the mainline kernel after fixing the reported race condition.
- The outcome of the KDE and Linux community debates regarding LLM-generated content rules.
confidence 90%Sources used for this update (21)
- Phoronix — Linus Torvalds Working On A Hefty Linux Kernel Improvement With Claude Code
- XDA — As the Linux community debates LLM-generated content rules, Linus Torvalds says he "really likes using AI"
- ZDNET — ‘I use AI to do the things that I’m bad at’: Linus Torvalds on why it works for him
- How-To Geek — KDE is fighting over whether AI belongs in Linux. Here's what's at stake
- 디지털투데이 — Linus Torvalds says AI is an entry tool for programming, caution needed for important work
- Startup Fortune — Linus Torvalds used Claude Code to rewrite how Linux reads cached files
- www.zdnet.com — Linus Torvalds is using AI to develop Linux kernel code now
- daily.dev — Linus Torvalds Working On A Hefty Linux Kernel Improvement ...
- letsdatascience.com — Linus Torvalds Credits Claude Code in Linux Page-Cache Patch Series
- www.computerworld.com — Linus Torvalds has started using AI to develop the Linux kernel
- www.phoronix.com — Linus Torvalds Working On A Hefty Linux Kernel Improvement ...
- www.linux.org.hk — Hong Kong Linux User Group - 香港Linux用家協會(HKLUG) > Archive > Torvalds Turns to Claude Code for Ambitious Linux Kernel W....
Community Sentiment: How do you assess this situation?
Voice your perspective · Real-time aggregated sentiment from the Live Feeds community