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.
Plan meals and place grocery orders from a Google Doc
Claude and Muse handle meal planning, pantry inventory and recipe tracking, then Muse reads a Google Doc and places the grocery order in a browser, with the poster confirming payment from their phone.
Have Claude implement most of a day job's work
The poster gives Claude work tasks and has it implement most of the functionality, though the last 10% still takes the most time.
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.
Test local web apps and fix errors in one session
Claude Code with Claude in Chrome writes code, opens localhost, clicks through the UI, reads console errors and fixes them without the developer touching the browser.
Build a WordPress marketing site from Figma overnight
bnistordev connected Devin to a Figma file via MCP and had it build an entire WordPress marketing site overnight.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.