Linus Torvalds ships Claude Code-assisted kernel patches delivering 3x throughput for 8-thread file reads
新智元 · wechat · 2026-10-14
A new branch in Linus Torvalds' kernel tree—noref-filemap-read-with-llm—confirms he's now building with Claude Code, openly crediting the model for code, tests, review and patch notes under his direction. The patches tackle a real production bottleneck: atomic folio refcount churn when multiple threads small-read the same file, which accounted for 99.92% of Load HITM overhead on his machine. By deferring cache-memory return via RCU, 8-thread throughput roughly tripled (10M to 33M) on an i7-8565U/ext4 test, with 10% single-thread gain. A follow-up branch used LLM help to untangle the obscure 2013-era assocarray code, surfacing 3 additional decade-old bugs beyond the originally reported one.
Related event: Linus Torvalds Uses Claude Code to Boost Linux Kernel Reads 3x(4 posts)→
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29