Tech Unbloated
AI

Linus Torvalds has the best way to use AI figured out

How to use AI effectively, from Linus Torvalds: the bug fix, the ext4 rant, and five habits to copy.

Black-and-white illustration of Linus Torvalds, smiling in round glasses and a black T-shirt, beside the words: Use AI the Linus Way.

Most people use AI one of two ways. They either let it do everything, or they refuse to touch it at all. Linus Torvalds, the creator of Linux and Git, does neither.

I think he has the best way to use AI right now. He used it to fix a nasty graphics bug, told AI critics they could fork Linux, then yelled at a huge pull request full of AI fixes. That’s three different events with one hard rule: he stays in the driver’s seat.

Quick answer: To use AI effectively, copy Torvalds. Give it the work you’re weak at, push when it quits, say what it did, and keep your release calendar. He says Linux is “not one of those anti-AI projects,” but he still checks the output himself.

Does Linus Torvalds use AI?

Yes. In January he posted a hobby project called AudioNoise. Its README says the Python visualizer was “basically written by vibe-coding” with Google Antigravity. And that he knows more about analog filters than Python.

In October, at Open Source Summit Europe, he said, “I actually really like using AI.” He also said, “I use AI to do the things that I’m bad at,” and that you need to be “very careful” when the work is real and important.

That same month he posted eight kernel patches written with Claude Code “under my direction,” according to ZDNet. He ran the benchmarks himself. On his laptop, eight threads reading one file went from about 10 million reads per second to 30–33 million. The patches aren’t merged, and the message lists the known problems.

Advertisement

What to do when AI says it can’t be done

In August, a bug in the Intel Xe graphics driver gave Torvalds a black screen on every cold boot. The cause was a rounding error. The driver rounded a number up instead of down, and commit 818bebe swapped round_up() for round_down().

Finding that took 24 debug patches and 18 boots. The AI “several times stated flat out that this was impossible and unsolvable.” It wanted to write a report instead. Torvalds wrote, “I suspect those things have been trained by people who may not be quite as stubborn as I am.”

To be fair, he also said it “did keep adding debug code and analyzing it faithfully when I pushed.” The AI did the grunt-work. He decided the bug could be solved. He let it write the commit message, and the commit says so.

Is Linux anti-AI?

No. In July he wrote, “Linux is not one of those anti-AI projects, and if somebody has issues with that, they can do the open-source thing and fork it.” Then, on its own line: “Or just walk away.”

Linus Torvalds’ July 2026 mailing list reply saying Linux is not one of those anti-AI projects and that critics can fork it
Torvalds’ reply on the linux-media list, as archived on lore.kernel.org on November 30, 2026.

He called AI “a tool, just like other tools we use,” and “clearly a useful one.” But he wants it to help maintainers. In May he wrote that if you find a bug with AI, someone else probably did too, so add “some real value on top of what the AI did.” The kernel’s own rules agree. AI can’t sign off on code, and the human takes full responsibility.

Advertisement

Why did Torvalds blast the ext4 pull request?

On November 24, ext4 maintainer Theodore Ts’o sent a pull request for Linux 7.4-rc5. It added 41,197 lines. Most were tests, and the summary said most of the bug fixes were AI generated.

Theodore Ts’o’s ext4 pull request for Linux 7.4-rc5, describing a huge number of bug fixes, most of which were AI generated
Ts’o’s pull request as archived on lore.kernel.org, November 24, 2026.

Torvalds replied, “STOP THINKING THAT YOU - OR AI - NEVER ADD BUGS WHEN YOU FIX SOMETHING.” Release candidates exist to calm a release down, and a fix for a subtle bug can itself be buggy. He wanted the tests on a separate branch for the merge window.

Then he merged it anyway. The next day he said he did “kind of object,” but undoing it wasn’t worth it. He hadn’t run the tests, “so they may be complete garbage.”

He didn’t ban the AI fixes. He objected to the timing. Calling something a fix doesn’t make it safe, whoever wrote it.

5 habits for using AI effectively

Habit What Torvalds did
Hand it work you’re weak at Antigravity wrote his Python visualizer
Push when it quits 24 patches and 18 boots after “impossible”
Say what the AI did Credited it in his August and October commits
Show what’s unfinished Posted the October patches with known problems listed
Respect the calendar Pushed back on 41,197 lines in a release candidate

What developers say

Most reaction reads the ext4 rant as a timing complaint. One r/theprimeagen commenter said the anger was about lateness, not size. Another said AI code means far more tests to catch hallucinations in the build.

On Hacker News, one commenter called Torvalds the middle ground between hype and anti-AI. Another said reviewing model-written code takes as long as writing it. On Bluesky, a user liked his pragmatism: it’s a tool, so be careful.

Where this doesn’t carry over

Torvalds has decades of kernel knowledge to judge what the AI hands back, and he says he rarely writes kernel code himself these days. The August fix still cost 24 patches, so AI wasn’t a shortcut. Copy the habits. The skill to judge the output comes from you.

FAQ

Does Linus Torvalds vibe code?

Yes, on a hobby project. For real products, he said in 2025 that it may be “a horrible, horrible idea from a maintenance standpoint.”

Next time your AI says a problem can’t be solved, check whether it’s stuck or just ready to write a report. Torvalds found out with 24 patches and 18 boots. The fix was one word.

Featured illustration based on a photo by Lf Asia, licensed under CC BY 3.0.

Discussion

Corrections, disagreements, and the thing I missed. Comments are read before they go up.

Comments stay off until you say so.

Enable comments in cookie preferences to read and join the thread. No login. No ads in the box.