# 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.

- Publication: Tech Unbloated
- Author: Ali Arslan
- Published: 2026-12-01T20:12:10.000Z
- Beat: ai
- Tags: ai-tools, critical-thinking, generative-ai
- Canonical: https://techunbloated.com/how-to-use-ai-effectively/

---
Most people use AI one of two ways. They either [let it do everything](/ai-cognitive-offloading/), 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](https://github.com/torvalds/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](https://www.zdnet.com/tech/linus-torvalds-ai-coding-programming/).

That same month he posted eight kernel patches written with Claude Code “under my direction,” [according to ZDNet](https://www.zdnet.com/innovation/linus-torvalds-uses-ai-to-write-linux-kernel-patch/). He ran the benchmarks himself. On his laptop, [eight threads reading one file](https://itsfoss.com/news/linus-torvalds-claude-code-linux/) went from about 10 million reads per second to 30–33 million. The patches aren’t merged, and the message lists the known problems.

## 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](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=818bebeb63dd6bf5f4e07e145f6cdbace520a34c) 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](https://lore.kernel.org/linux-media/CAHk-=wi4zC+Ze8e+p3tMv8TtG_80KzsZ1syL9anBtmEh5Z40vg@mail.gmail.com/), “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.”

<figure class="article-figure article-figure--native"><img src="/media/posts/how-to-use-ai-effectively/linus-torvalds-ai-not-anti-ai-post.webp" srcset="/media/posts/how-to-use-ai-effectively/responsive/linus-torvalds-ai-not-anti-ai-post-1200.webp 1200w, /media/posts/how-to-use-ai-effectively/linus-torvalds-ai-not-anti-ai-post.webp 1342w" sizes="(max-width: 900px) calc(100vw - 2rem), 800px" width="1342" height="1359" style="aspect-ratio: 1342 / 1359" loading="lazy" decoding="async" alt="Linus Torvalds’ July 2026 mailing list reply saying Linux is not one of those anti-AI projects and that critics can fork it"><figcaption>Torvalds’ reply on the linux-media list, as archived on lore.kernel.org on November 30, 2026.</figcaption></figure>

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](https://lore.kernel.org/lkml/CAHk-=wi+JvcuKF2NaD_rGiYrwkR6rxh_2XZmx8BbYm00D1CvTA@mail.gmail.com/) 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](https://github.com/torvalds/linux/blob/master/Documentation/process/coding-assistants.rst) agree. AI can’t sign off on code, and the [human takes full responsibility](/ai-isnt-the-problem-you-are/).

## Why did Torvalds blast the ext4 pull request?

On November 24, ext4 maintainer Theodore Ts’o sent a [pull request](https://lore.kernel.org/lkml/awW86EI5fYafQx-o@mit.edu/) 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.

<figure class="article-figure article-figure--native"><img src="/media/posts/how-to-use-ai-effectively/linus-torvalds-ai-ext4-pull-request.webp" srcset="/media/posts/how-to-use-ai-effectively/responsive/linus-torvalds-ai-ext4-pull-request-1200.webp 1200w, /media/posts/how-to-use-ai-effectively/linus-torvalds-ai-ext4-pull-request.webp 1342w" sizes="(max-width: 900px) calc(100vw - 2rem), 800px" width="1342" height="982" style="aspect-ratio: 1342 / 982" loading="lazy" decoding="async" alt="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"><figcaption>Ts’o’s pull request as archived on lore.kernel.org, November 24, 2026.</figcaption></figure>

[Torvalds replied](https://lore.kernel.org/lkml/CAHk-=whyUfwzMDMTpih8Xs1MxmhwTCDAc_YwUSZG79vXFMLU=Q@mail.gmail.com/), “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](https://lore.kernel.org/lkml/CAHk-=whFaGFFcyyWXvm9NEUchjhRHSa7LbB7ki3SzWKcRx3xJQ@mail.gmail.com/) 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](https://www.reddit.com/r/theprimeagen/comments/1y5d9z3/comment/19t7ikkd7ixc5/), not size. Another said AI code means [far more tests](https://www.reddit.com/r/theprimeagen/comments/1y5d9z3/comment/19t78annjf7sw/) to catch hallucinations in the build.

On Hacker News, one commenter called Torvalds the [middle ground](https://news.ycombinator.com/item?id=50449775) between hype and anti-AI. Another said reviewing model-written code [takes as long as writing it](https://news.ycombinator.com/item?id=50492851). On Bluesky, a user liked his [pragmatism](https://bsky.app/profile/keeper86.bsky.social/post/3mzqanuvurs2y): 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.”](https://www.zdnet.com/article/linus-torvalds-is-surprisingly-optimistic-about-vibe-coding-except-for-this-one-horrible-use/)

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](https://commons.wikimedia.org/wiki/File:Lc3_2018_\(263682303\).jpeg), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/).*
