Linus Torvalds uses Claude Code to write experimental Linux kernel patches
Linus Torvalds disclosed that an eight-patch Linux kernel series addressing page-cache read contention was written with Anthropic's Claude Code under his direction. The patches are experimental and not merged.
1 / 2
The story, neutrally told
Centre · 2Linux creator Linus Torvalds has used Anthropic's AI coding tool, Claude Code, to develop an eight-patch series for the Linux kernel, according to ZDNET and Computerworld. ZDNETN “His new code consists of an eight-patch series.” Read at ZDNET ↗ ComputerworldN “he has used Anthropic’s AI tool, Claude Code, to develop eight code changes to resolve a performance issue in Linux” Read at Computerworld ↗ Centre · 2In his Git submission, Torvalds wrote that the code, the test programs, the review behind the list of changes and the first draft of the text were done with an LLM coding assistant (Claude Code) under his direction. ZDNETN ““The code, the test programs, the review behind the list above and the first draft of this text were done with an LLM coding assistant (Claude Code) under my direction.”” Read at ZDNET ↗ ComputerworldN “under my supervision” Read at Computerworld ↗ Centre · 1The series is published on the branch noref-filemap-read-with-llm in Torvalds's repository and aims to remove a bottleneck when multiple threads make small reads from the same file. ZDNETN “It’s published on the branch noref-filemap-read-with-llm in Torvalds’s repository.” Read at ZDNET ↗
Centre · 1ZDNET explains that the threads repeatedly take and release references to the folio backing cached data in the page cache, and those reference-count updates require atomic writes to a shared cache line that forces processor cores to compete. It says the problem has been known since 2024 and earlier fix attempts came to nothing. ZDNETN “Those reference-count updates require atomic writes to a shared cache line. This in turn forces processor cores to compete over it.”“It’s been a known issue since 2024. Earlier attempts to fix it, though, have come to naught.” Read at ZDNET ↗ Centre · 1The patches defer reuse of memory removed from the page cache until a read-copy-update (RCU) grace period has elapsed, letting a reader copy data directly into a user buffer without taking a folio reference. ZDNETN “the patches defer reuse until a read-copy-update (RCU) grace period has elapsed.” Read at ZDNET ↗ Centre · 1On a four-core, eight-thread Intel Core i7-8565U laptop, eight-thread throughput reportedly rose from about 9.9–10.4 million reads per second to 30–33 million, and kernel cycles per read fell from roughly 2,950 to 725; single-thread reads improved from about 452–454 to 408–409 cycles. Torvalds wrote that a machine with more CPUs or more than one socket should gain more, but nothing bigger has been measured. ZDNETN “Eight-thread throughput rose from approximately 9.9–10.4 million reads per second to 30–33 million, while kernel cycles per read fell from roughly 2,950 to 725.”““A machine with more CPUs, or more than one socket, should gain more; nothing bigger has been measured.”” Read at ZDNET ↗
Centre · 1ZDNET cautions that this is not a threefold speed-up of Linux overall but a result from one small-read workload on Torvalds's own laptop, which he had with him in Prague at Linux Plumbers. ZDNETN “this describes experimental results from a particular small-read workload on Torvald’s personal laptop, which he had with him in Prague at Linux Plumbers.” Read at ZDNET ↗ Centre · 1There are open problems: delaying memory reuse leaves pages unavailable during the grace period, which Torvalds called "the part of this series that is least solved", and reads targeting a not-yet-mapped user page incur an extra failed exception before falling back to the existing path. ZDNETN ““the part of this series that is least solved.””“There is also a regression when a read targets a user page that is not yet mapped.” Read at ZDNET ↗ Centre · 2As of 13 October the branch was not in mainline Linux 7.3-rc6, and both outlets describe the changes as experimental; whether and when they will be merged is undecided. ZDNETN “Whether it will ever be merged, and on what timetable, remains up in the air.” Read at ZDNET ↗ ComputerworldN “The changes are still experimental and have not been incorporated into the official Linux kernel.” Read at Computerworld ↗
Centre · 2Both outlets place the move within Torvalds's gradual shift from scepticism about AI. ZDNET notes he spoke of AI as a helpful tool in December 2023, called himself a huge believer by late 2025, and in January 2026 began using AI-assisted coding on a Python audio visualizer hobby project. ZDNETN “Still, in January 2026, he began toying with AI-assisted coding for a Python audio visualizer in a hobby project.” Read at ZDNET ↗ ComputerworldN “Torvalds has previously been skeptical of AI-generated code but has gradually become more positive about the technology.” Read at Computerworld ↗ Centre · 2At Open Source Summit Europe in Prague, in a conversation with Dirk Hohndel, Torvalds said he used to think AI was not very good but now really likes using it, and that it makes programming much more enjoyable. He also cautioned that one needs to be very careful using AI when doing something real and important. ZDNETN ““I used to think it was just not very good — but now I’m at the point where I actually really like using AI,””““I think that you need to be very careful using AI when you’re doing something real and important.”” Read at ZDNET ↗ ComputerworldN “During the Open Source Summit Europe conference in Prague, he recently shared that he has gained a new perspective on it.” Read at Computerworld ↗
Every sentence links to the reporting it rests on. The pill in front of each says where its sources sit: Left, Centre or Right when one side supplies at least half of them, Mixed when they are evenly split. The number is how many outlets it cites.
Left0 outlets
No left outlet in our sources has covered this story yet.
Centre2 outlets
- Framing
- Both outlets present the story as a milestone in Torvalds's shift from AI sceptic to user. ZDNET gives a detailed technical and analytical account with caveats; Computerworld (originally Computer Sweden) is a short rewrite that cites ZDNET.
- Emphasis
- ZDNET stresses the benchmark gains alongside unresolved reclamation and regression issues, and the history of Torvalds's views. Computerworld stresses that the changes are experimental and unmerged and repeats his quotes.
- Leaves out or plays down
- Computerworld omits the technical detail, benchmark figures, known trade-offs and Torvalds's caution about using AI for important work.
- Charged language
- “turning point”“It had to happen”
- For example
-
“The move is a turning point in the developer’s relationship with AI and Linux.” — ZDNET
“The changes are still experimental and have not been incorporated into the official Linux kernel.” — Computerworld
Right0 outlets
No right outlet in our sources has covered this story yet.
What every side reports
- Torvalds used Claude Code to develop eight kernel changes for a performance issue.
- The changes are experimental and not part of the official kernel.
- Torvalds has moved from scepticism to enjoying AI, as he said in Prague.
Linus Torvalds person
Torvalds says he now likes using AI as a tool, discloses Claude Code's role in the patch series under his direction, and warns of the need for care with real and important work.
““I think AI is a wonderful tool if you use it correctly and treat it as a tool, and I find it makes programming much more enjoyable.”” — ZDNET
““the part of this series that is least solved.”” — ZDNET
Linux kernel other
The Linux kernel's mainline (7.3-rc6) does not yet include the patch series, and its future merge is undecided.
“Whether it will ever be merged, and on what timetable, remains up in the air.” — ZDNET
“have not been incorporated into the official Linux kernel” — Computerworld
Left0 articles
No coverage yet.
Centre2 articles
-
ZDNETN ·
Linus Torvalds is using AI to develop Linux kernel code now
Mixed Enthusiastic about the milestone but careful to qualify the benchmark results and list unresolved trade-offs.

-
Linus Torvalds has started using AI to develop the Linux kernel
Neutral Brief factual rewrite of ZDNET's report, noting the changes are experimental and unmerged.

Right0 articles
No coverage yet.
- 13 Oct 18:30 First ZDNETN Linus Torvalds is using AI to develop Linux kernel code now
- 14 Oct 20:31 +26h 1m ComputerworldN Linus Torvalds has started using AI to develop the Linux kernel
Times are when each article was published, or when we first saw it if the outlet gave no time.
Ask about this story
Loading…