Fix a Linux kernel memory management problem with Claude
Linus Torvalds used Claude to write code, unit tests, docs, debug hooks and review for a kernel memory management problem, running benchmarks himself; a race condition still slipped in. ·
Done withClaude
- What they did
- According to the post, Linus Torvalds had Claude work on a Linux kernel memory management problem. Claude wrote the code, the unit tests and the documentation, added a debug hook, and acted as code reviewer. Torvalds kept only one job, which was running the benchmarks.
- How it went
- A race condition still got into the result. The post gives no benchmark numbers or other details, and the text is cut off after a short opening.
- Worth knowing
- Having the AI review its own code did not catch the race condition, so concurrency bugs still need a human or separate checks.
Try it yourself with Claude
I'm working on [describe the bug or change] in [repo/path]. Write the fix, unit tests, documentation and any debug hooks, then review your own change specifically for race conditions and locking problems. Give me benchmark or test commands to run myself, and finish with a summary of the change and any risks you still see. Don't commit or push anything until I've reviewed the diff.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Bluesky · Oct 15, 2026
Related use cases
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Cut a hospital bill using Claude's Medicare price analysis
Claude built a spreadsheet of Medicare prices per code on a $195,628 hospital bill; the user then wrote the letter and negotiated about $163,000 off himself, so Claude only analyzed.
Query bank statements and reconcile property records with Claude
Commenters gave Claude email access to find receipts and ask about statements and portfolios, and one has it reconcile real-estate agent statements to bank records.
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Restyle a pull request to match repo house style
A developer asked Claude to update a PR to the repo's house style, but it only rewrote comments to be lowercase and less useful, making no code changes.
Turn dictated specs into tickets and code with LLM agents
A developer dictates a spec, has LLMs densify it, then plan and scaffold the project, and an agent files implementation tickets per module.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.