# Linus Torvalds built an experimental Linux kernel patch series with Claude Code

> Torvalds says Claude Code wrote the code, tests and first draft. One test ran 23 times faster, but the series isn’t merged and was handed to Kiryl Shutsemau.

- Publisher: JARRUS (@jarrus.tech), thejarrus.com
- Story date: Oct. 10, 2026 (2026-10-10)
- Published: 2026-10-15
- Tags: Anthropic, Agents
- URL: https://thejarrus.com/en/news/torvalds-linux-patch/

### Linus Torvalds built an experimental Linux kernel patch series with Claude Code

Linux creator Linus Torvalds published an experimental eight-patch series in his own repository on October 10. According to his note introducing it, the code, the test programs, the review and the first draft of the text were **done with Claude Code "under my direction,"** while the measurements ran on his own machine.

### Torvalds says one test got 23 times faster, but calls it "a very artificial case"

The series targets a bottleneck that appears when many CPU cores read the same file at the same time. On October 13, Torvalds wrote on the kernel mailing list that he saw a 23x performance increase on his Threadripper machine. He immediately added that it was a very artificial test and that **"any real life impact will be much much less."**

### Two years ago, he called AI "90% marketing"

In October 2024, Torvalds said the AI industry was "90% marketing and 10% reality" and that he would basically ignore it for now. In May 2026, he said, "these days, I'm figuring out AI tools are good, too." This October, **he wrote kernel patches with AI**.

### The series isn't merged yet, and Torvalds handed it to Meta's Kiryl Shutsemau

Matthew Wilcox called the numbers "compelling" but objected to part of the design. **Kiryl Shutsemau, reviewing the series, found a race** that could return "data that never got written there." Torvalds, about to go on vacation, asked Shutsemau to take the whole series over. The patches haven't been merged into any kernel tree yet.

### In June, he said AI still lacks "good taste"

In June 2026, Torvalds said hard fixes still fall to experienced developers who really understand the code, and that with AI, "right now, the good taste is mostly lacking." On October 8, kernel maintainers agreed to stop requiring the tag that flags AI help.

## Sources

1. [Linus Torvalds (linux.git, kernel.googlesource.com aynası): mm: read from the page cache without folio references, Oct. 10, 2026](https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux/+/4c0f3697118eb3a708ea79175f7f07c43339bfab)
2. [Linus Torvalds (torvalds/linux, GitHub): 10-patch rcu-free-v3 branch (2 by Kiryl Shutsemau), Oct. 13, 2026](https://github.com/torvalds/linux/tree/rcu-free-v3)
3. [LKML (lkml.iu.edu arşivi): Improve page refcount scalability, Oct. 13, 2026](https://lkml.iu.edu/2610.1/13146.html)
4. [LKML (lkml.iu.edu arşivi): Re: Improve page refcount scalability, Oct. 13, 2026](https://lkml.iu.edu/2610.1/13304.html)
5. [LKML (lkml.iu.edu arşivi): Re: Improve page refcount scalability, Oct. 13, 2026](https://lkml.iu.edu/2610.1/13573.html)
6. [LKML (lkml.iu.edu arşivi): Re: Improve page refcount scalability, Oct. 13, 2026](https://lkml.iu.edu/2610.1/13698.html)
7. [LKML (lkml.iu.edu arşivi): Re: Improve page refcount scalability, Oct. 14, 2026](https://lkml.iu.edu/2610.1/15032.html)
8. [LWN.net: Linus Torvalds’s first LLM-assisted patch series, Oct. 14, 2026](https://lwn.net/Articles/1100449/)
9. [LWN.net: The 2026 Maintainers Summit, Oct. 12, 2026](https://lwn.net/Articles/1099594/)
10. [Linux kernel (GitHub raw): AI Coding Assistants](https://raw.githubusercontent.com/torvalds/linux/master/Documentation/process/coding-assistants.rst)
11. [Phoronix: Linux Kernel Developers Plan To Remove “Assisted-By” Tag Requirement For AI/LLM Usage, Oct. 13, 2026](https://www.phoronix.com/news/Linux-Dropping-Assisted-By-Req)
12. [The Register: Linux kernel devs drop obligatory confession of AI tool usage, Oct. 14, 2026](https://www.theregister.com/ai-and-ml/2026/10/14/linux-kernel-devs-drop-obligatory-confession-of-ai-tool-usage/5303140)
13. [Phoronix: Linus Torvalds Working On A Hefty Linux Kernel Improvement With Claude Code, Oct. 11, 2026](https://www.phoronix.com/news/Linus-Torvalds-Claude-Code)
14. [Hacker News: Linus Torvalds’s first LLM-assisted patch series, Oct. 14, 2026](https://news.ycombinator.com/item?id=50090842)
15. [TFiR (YouTube): Linus Torvalds on the kernel, GenAI, EVs, programming languages and more…, Oct. 17, 2024](https://www.youtube.com/watch?v=s4wlrxFf2lM)
16. [Tom's Hardware: Linus Torvalds reckons AI is ‘90% marketing and 10% reality’, Oct. 28, 2024](https://www.tomshardware.com/tech-industry/artificial-intelligence/linus-torvalds-reckons-ai-is-90-percent-marketing-and-10-percent-reality)
17. [The Linux Foundation (YouTube): Keynote: Linus Torvalds, Creator of Linux & Git with Dirk Hohndel, Founder, DH Consulting, June 3, 2026](https://www.youtube.com/watch?v=fi29pfLcW4I)
18. [The Linux Foundation (YouTube): Keynote: Linus Torvalds in Conversation with Dirk Hohndel, July 1, 2026](https://www.youtube.com/watch?v=YKkEe-PxW10)

Report an error: corrections@thejarrus.com
