Write a Linux kernel improvement with Claude Code
Linus Torvalds is working on a sizable Linux kernel patch written with Claude Code, per the headline.
Done withClaude Code
- What they did
- Torvalds pushed a branch called noref-filemap-read-with-llm to his main kernel repository. It aims to let the page cache be read without folio references, because small reads of one file from many threads contend on folio reference counting. His patch message says Claude Code, working under his direction, produced the code, the test programs, the review and the first draft of the cover letter. He ran the measurements on his own machine.
- How it went
- Phoronix calls the performance impact significant, pointing to a results chart. The patches are only on a branch so far, and whether they get merged for the Linux 7.4 window is still open.
- Worth knowing
- The author's disclosure in the patch message shows how Torvalds credited the AI: it did the code, tests and review, while the measurements were run by him personally.
Try it yourself with Claude Code
In my project at [path to repo], I want to improve [specific area, e.g. a driver, a scheduler path, or a utility function]. First read the relevant code and the project's contribution guidelines, then explain your plan in a few sentences. Once I approve, write the change as a clean patch with a commit message in the project's style, run the existing tests, and stop when the patch builds and passes. Do not push or submit anything; show me the diff first.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
1 more account of this
Discussion on HN · Oct 12, 2026
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Build Godot games with paired design and coding agents
Cowork handles design docs, task queues and playtests while Claude Code writes GDScript and runs Godot and git.
Find and clean leads for recruiting outreach
A recruiting agency owner uses Claude to find leads; a commenter uses it to clean messy data and draft personalized outreach that gets replies.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Build an iCloud skill with a Muse agent
A screen-reader user asked their Muse agent to build an iCloud skill and it produced something, but accessibility problems with the text field and conversation navigation got in the way.
Build a first real project with Replit Agent
A student completed a real build with Replit Agent, spending about $65 in agent usage and finding the cost unexpected.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.