Torvalds used Claude to fix a Linux kernel problem: code read speed increased 23 times but did not pass review
Linus Torvalds tried using Claude to address a performance bottleneck in Linux kernel file reading; the generated code read 23 times faster but did not pass review. Kernel developer Kiryl Shutsemau found a race condition in filemap_read_rcu_batch(); some comments said the AI-generated code was later almost entirely rewritten by hand and switched to a different approach. The article says developers had worked on this problem for more than two years, while commenters believed the problem had long been shelved. Readers clearly disagreed on whether Claude only provided a prototype direction or contributed the key solution; one commenter gave links to the LKML mailing list and a git branch, saying Torvalds iterated through multiple versions in about a week.