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.
Research stocks by pulling filings and transcripts
The poster has Claude Code fetch filings, transcripts and SEC documents for a company, cite sources, and write a bear case on a holding.
Run a local multi-model agent for files and LinkedIn/Reddit monitoring
A builder made a local agent that works with the user's files and connected data, and uses it to monitor and fetch relevant LinkedIn and Reddit conversations for business insights.
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.
Rebuild a platform and add RAG features in one day
A user had Replit Agent rebuild a full-stack platform, add 7 features to a live RAG app, and make a demo video in about 12 hours.
Diagnose AWS issues with read-only Claude access
A startup engineer gives Claude read-only access to AWS, logs and the database, and it investigates issues and writes a report, though it sometimes makes things up.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.