< Back to all clusters
[TECHNOLOGY] · 3 sources

started · updated

Linus Torvalds uses Claude Code AI to develop Linux kernel patches

Linus Torvalds, the creator of Linux, has disclosed that he used Anthropic’s Claude Code AI assistant to assist in developing Linux kernel patches. The AI-assisted work focused on improving page-cache read performance by addressing a bottleneck related to folio reference-count contention.

Torvalds specified that the AI tool helped write the implementation code, test programs, review material, and an initial draft of technical documentation, all under his direct supervision. In testing on an Intel laptop, the proposed changes showed a significant throughput increase for 16-byte reads, rising from approximately 9-10 million to 30-33 million per second.

The technical approach involves using the Linux Read-Copy-Update (RCU) mechanism to delay the reuse of removed page-cache memory until an RCU grace period ends, allowing for a lockless read path. However, the development is ongoing; reviewers have identified a race condition and raised concerns regarding memory reclamation. Torvalds has transitioned further development of these patches to kernel developer Kiryl Shutsemau.

Entities

Anthropic · Claude Code · Kiryl Shutsemau · Linus Torvalds · Linux

Claims

What the coverage asserts, and how many sources carry each claim.

  • [○ 1 SOURCE] Benchmarks on an Intel laptop showed a throughput increase from approximately 9-10 million to 30-33 million 16-byte reads per second. cybernoz.com
  • [● 3 SOURCES] Linus Torvalds used Anthropic’s Claude Code to write Linux kernel patches, test programs, and technical documentation under his direction. cybernoz.com · www.linux-magazine.com · thenewstack.io
  • [● 3 SOURCES] The patches aim to address a performance bottleneck in the page-cache read path by reducing folio reference-count updates. cybernoz.com · www.linux-magazine.com · thenewstack.io
  • [○ 1 SOURCE] Torvalds has handed further development of the patches to kernel developer Kiryl Shutsemau. thenewstack.io
  • [○ 1 SOURCE] Kernel reviewers have identified a race condition and raised concerns regarding memory reclamation in the AI-assisted patches. thenewstack.io
  • [● 2 SOURCES] The proposed approach uses the Read-Copy-Update (RCU) mechanism to delay reusing page-cache memory until an RCU grace period ends. cybernoz.com · www.linux-magazine.com