a builder's codex
codex · operators · Linus Torvalds · ins_torvalds-ai-debugging-persistence

AI systems declare hard debugging problems impossible; human persistence overrides that defeatism

By Linus Torvalds · Creator of the Linux kernel and Git; principal maintainer of the Linux kernel · 2026-08-22 · thread · Linus Torvalds on AI-assisted debugging (Linux kernel commit drm/xe)

Tier B · TL;DR
AI systems declare hard debugging problems impossible; human persistence overrides that defeatism

Claim

AI debugging assistants are trained to concede on intractable problems, but a human who refuses to accept "impossible" forces continued iteration that can solve what the AI declared unsolvable.

Mechanism

AI models are trained by labelers with limited tolerance for protracted failure. This embeds a tendency to declare hard problems unsolvable rather than to keep iterating. A developer who instructs the AI to continue despite pessimistic assessments surfaces the AI's latent capacity for persistent analysis. The human's contribution is the judgment that the problem is worth solving, not the analysis itself.

Conditions

Holds when: The debugging problem is genuinely hard but solvable through iterative analysis. The human has enough domain knowledge to recognize when the AI is wrong to concede.

Fails when: The AI's pessimism reflects a real capability limit rather than a trained tendency. Persistence without judgment is spent time, not progress.

Evidence

Linus Torvalds described a GPU memory debugging session in the commit message for "drm/xe: Don't hand out the flat CCS storage as usable VRAM" (Linux kernel, August 22, 2026). He wrote that the AI continued adding debug code and analyzing results until the problem was solved, despite repeated pessimistic assessments:

"The AI several times stated flat out that this was impossible and unsolvable and we should just write a report."

Torvalds persisted and ultimately gave the AI credit by letting it write the commit message. He noted it "was likely trained by people not quite as stubborn as myself."

Signals

Counter-evidence

Torvalds is an extreme outlier for domain depth and stubbornness. Most developers lack the expertise to distinguish "the AI is wrong to give up" from "this is actually impossible." Treating AI pessimism as a default training artifact risks wasting time on genuinely blocked problems.

Cross-references

Open the interactive view → View original source → Markdown source →