{
  "id": 14559063,
  "title": "Linus Torvalds let Claude Code fix the Linux page cache. Then reviewers found a race.",
  "url": "https://urgent.news/2026/10/14/linus-torvalds-let-claude-code-fix-the-linux-page-cache-then",
  "topic": "ai",
  "section": "AI",
  "published": "2026-10-14T22:59:18.000Z",
  "source": {
    "name": "The New Stack",
    "slug": "the-new-stack",
    "url": "https://thenewstack.io/torvalds-claude-code-kernel/"
  },
  "original_language": "en",
  "account": "Linus Torvalds, creator of the Linux kernel, enlisted the help of Anthropic’s Claude Code to address a performance issue with the page cache that had persisted for over two years. After 18 months of Torvalds running a flawed version of his own fix, other developers encountered similar challenges. The new patches eliminate folio reference-count operations from a common buffered-read path, though Torvalds noted that real-world performance gains would be smaller. However, reviewers uncovered a race condition and raised concerns about memory reclamation. Torvalds handed further development to Kiryl Shutsemau, a Linux kernel developer who had previously worked on the same bottleneck. The issue of page cache contention was identified by Matthew Wilcox, an Oracle engineer and Linux kernel memory-management developer, in a customer workload. Claude Code generated the patches, which were later reviewed by Torvalds. These patches resulted in substantial performance improvements in synthetic benchmarks, with throughput increasing by a factor of 23 on Torvalds’ Ryzen Threadripper. In a heavy contention scenario on a 64-thread Threadripper, throughput surged from 13.3 million to 304 million reads per second. Despite the performance gains, the patches introduced trade-offs, such as increased kernel cycles per read and potential regressions in certain scenarios.",
  "summary": "Linux creator and longtime lead maintainer Linus Torvalds turned to Anthropic’s Claude Code to tackle a kernel performance problem that The post Linus Torvalds let Claude Code fix the Linux page cache. Then reviewers found a race. appeared first on The New Stack .",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 4,
    "also_reported_by": [
      {
        "outlet": "Computerworld",
        "title": "Linus Torvalds has started using AI to develop the Linux kernel",
        "url": "https://urgent.news/2026/10/14/linus-torvalds-has-started-using-ai-to-develop-the-linux-kernel",
        "published": "2026-10-14T19:31:30.000Z"
      },
      {
        "outlet": "The Register",
        "title": "Linux kernel devs drop obligatory confession of AI tool usage",
        "url": "https://urgent.news/2026/10/14/linux-kernel-devs-drop-obligatory-confession-of-ai-tool-usage",
        "published": "2026-10-14T20:16:31.000Z"
      },
      {
        "outlet": "Dev.to",
        "title": "How I keep secrets and personal data out of Claude Code",
        "url": "https://urgent.news/2026/10/15/how-i-keep-secrets-and-personal-data-out-of-claude-code",
        "published": "2026-10-15T00:39:00.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}