geek vibes.geek vibes.
Inteligencia Artificial · 6 min · Oct 14, 2026

Linus Torvalds let Claude Code touch the Linux kernel (and still won't dare merge it)

Linus Torvalds, open source's most demanding code reviewer, let Claude Code write an experimental patch for the Linux kernel. The result: up to 33 million reads per second, nearly tripling throughput. But the patch remains unmerged — and that says more than any demo.

Ilustración abstracta de una terminal de código en navy y verde junto a un medidor de rendimiento en cian, símbolo de un benchmark de agentes de IA.

On October 10th, Linus Torvalds — the person who has rejected more code in open source history than anyone — published an experimental branch in his own Linux repository called noref-filemap-read-with-llm. In the commit message he explains, in his own words, that the code, test programs, review, and first draft of the text were made "with an LLM code assistant (Claude Code) under my direction". It's not a hype thread or a conference demo: it's the Linux kernel, the software running on more servers on the planet than anything else, with patches generated by an AI agent. And that, for anyone deciding today whether to trust coding agents inside their team, weighs more than any benchmark from a vendor's lab.

What exactly did Torvalds do (and what didn't he)

The patch attacks a real problem: when multiple threads read small chunks of the same cached file, they compete with each other over the reference counter of that folio (the unit of memory where the cached page lives). Matthew Wilcox, maintainer of the memory subsystem, flagged this bottleneck back in 2024 after it showed up in real customer workload. The solution uses RCU ("read-copy-update") so a folio removed from cache waits a grace period before freeing, letting readers copy the cached data without taking that reference that was causing contention.


What Torvalds did differently wasn't delegate the idea — the problem diagnosis and technical direction were his. What he delegated was execution: the series of eight patches, test programs, and a first draft of the explanation were generated by Claude Code under his direct supervision. And, something worth underlining: he ran the measurements himself, on his own laptop.

The numbers, unfiltered

  • Test machine: an Intel Core i7-8565U 4-core / 8-thread laptop — no benchmarking cluster.
  • Workload: eight threads making 16-byte pread() calls on the same cached page.
  • Throughput: jumped from approximately 10 million to between 30 and 33 million reads per second.
  • CPU cycles per read: dropped from ~2,950 to ~725.
  • Cache contention events (Load HITM): from 30,538 to just 101 — the reference counter cache line represented 99.92% of those events before the patch.
  • The cost: a single-thread case with unmapped page got worse, from ~4,150 to ~6,550 cycles.

Why this is the hardest test a code agent has ever gotten

Torvalds isn't exactly known for uncritical enthusiasm toward new tools, and generative AI is no exception: at this year's Open Source Summit Europe he described his stance as mixed — he sees AI as a good entry point for beginners, but warned against relying on it for serious development without understanding the goal and consequences of each change. That this very person let Claude Code write, test, and document a change to the Linux memory core — one of the most audited and conservative pieces of code that exists — is the toughest production validation a coding agent can get. Tougher than any benchmark published by Anthropic, OpenAI, or Google, because the jury here is the engineer who's spent 30 years saying no to pull requests.

The detail almost nobody is pointing out: there's still no merge

Here's the angle that most English coverage mentioned in passing and that, for us, is the most important fact of the entire story: the branch is still experimental. It hasn't entered the Linux 7.4 integration window, there's no confirmation it will merge soon, and the technical report behind the story notes that the benchmark is narrow — one laptop, one synthetic workload — and a regression already showed up in at least one case. Torvalds, with Claude Code doing most of the writing and testing work, still decided that "works better on my machine" isn't the same as "ready for 40 million Linux installations in production".


That gap between "the benchmark looks spectacular" and "I'm going to merge it" is exactly the discipline most teams — and the agencies pushing coding agents to their clients like they're magic — skip.

What this means for agencies, developers, and your product

If your team (or your client's) is evaluating how much to delegate to Claude Code, Cursor, or any other coding agent, this case gives you a concrete framework, not an opinion:


  • Technical direction stays yours, not the agent's. Torvalds diagnosed the problem and defined the solution before asking Claude Code to execute it. The value wasn't in "ask AI to fix performance", it was in knowing exactly what to ask for and how to evaluate if the answer makes sense.
  • Measure in your own environment, never the vendor's. A jump from 10M to 33M reads per second on an office laptop tells you nothing about your production stack. If you're pitching a performance improvement to a client, run the benchmark on their actual infrastructure, not the demo.
  • Code review isn't a step a coding agent eliminates — it's the step that defines whether you trust the result. Review, testing, and the "known issues list" existed precisely because Claude Code generated the first draft, not despite that. Automating code writing without automating (or replacing) review is the recipe for the worst kind of technical debt: the kind that looks like it works until it doesn't.
  • "Still not merged" is a valid and mature answer. If your team feels pressure to ship every AI-generated feature the same day it was written, this case is public proof that even the creator of Linux doesn't rush to merge just because the benchmark looks good.

Closing thoughts

At Geek Vibes we use coding agents every day on client projects, and what we see constantly is the same tension this case exposes globally: the speed you gain writing code with AI is worthless if you don't maintain the same rigor in review, measurement in real environments, and human judgment to decide what goes to production. Torvalds isn't afraid of Claude Code — he uses it, which is precisely why he's not rushing to merge.


If you're building a process to adopt coding agents on your team or your clients' without losing quality control, write to us at comercial@geekvibes.agency.

Does any of this resonate?

If you're running pieces that don't quite connect, we'll diagnose it together in 30 min.

→ Schedule a diagnosis
ACTIONS