Is Linus Torvalds Vibe Coding?

Oct 15, 2026

The creator of Linux has added AI into his process for Linux kernel development, and it's more than just for debugging.

It's fairly well known that Linus Torvalds, the creator of Linux, has made public his stance on using AI to help in the debugging of the Linux kernel…he's all for it. But until now, the use of AI was limited to that task.

Now, it seems, Torvalds has decided to use AI in the development of new kernel features. His tool of choice: Claude Code.

"The code, the test programs, the review behind the list above and the first draft of this text were done with an LLM coding assistant (Claude Code) under my direction." Said Torvalds, in this recent patch message. He adds, "The measurements were run on my machine."

The code to which Torvalds was referring was for noref-filemap-read-with-llm, which is an idea he had that "A folio removed from the page cache goes back to the page allocator only after an RCU grace period."

Michael Larabel, from Phoronix, saw a new kernel branch appear, to which he said, "I was surprised to find a new kernel branch appear. Typically Torvalds isn't doing much work on branches in his main repository and typically just hosting the master branch."

What Torvalds discovered, with the help of Claude Code, was that instead of tracking every reader with a reference count, better performance can be had by using Linux's Read-Copy-Update (RCU) synchronization mechanism. The previous approach suffered under heavy CPU locking, whereas the new model uses lockless RCU Read by way of deferred memory freeing and reference-free copy.

The patches can be viewed here, but there's no definitive declaration if they will be merged into the upcoming 7.4 kernel.
 
 

 
 
 

Related content

  • Kernel: New Maintainer for x86 Branch

    Back at the Kernel Summit in September Andi Kleen announced that he would no longer be maintaining the i386 and x86_64 branches if they were merged in the new x86 branch. A new patch shows that Kleen has kept his promise.

  • News

    In the news: Is Linus Torvalds Vibe Coding?; openKylin 3.0 Released with Expanded AI Integration; DigitalOcean Ends Open Source Credits Program; Office 365 Available for Testing on Linux via Bottles; Dutch Government Turns to Open Source for Digital Sovereignty; Linux May Soon Work on Snapdragon X2-Based PCs; KDE for People Initiative Calls for AI Ban in Plasma; and It's Time to Test Fedora 45 Beta.

  • Linus Torvalds: Kernel 2.6.25-rc1 "Bloody Large"

    Linus Torvalds has announced the first release candidate of the new 2.6.25 kernel, codenamed "Bloody Large".

  • Linux Creator Warns Next Kernel Could be Delayed

    Linus Torvalds has issued concern about the size of kernel 5.12 and possible delays for its release.

  • Linus Torvalds Agrees to Kernel Lockdown

    The feature will let developers restrict root access to the kernel.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News