dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse


Our Discord Notification Server invitation link is https://discord.gg/jB2qmRrxyD

Author Topic: Did What I Preach", Used AI To Make Code Decipherable & Uncovered More Bugs  (Read 9 times)

Online Chip (OP)

  • Server Admin
  • Admin
  • Hero Member
  • ****
  • Administrator
  • *****
  • Restrictive
  • *
  • RC Discussion
  • **
  • Private
  • ***
  • Owner
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 7443
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 07:35:45 AM
  • Deeply Confused Learner
  • Profession: IT Engineer now retired
https://share.google/Wd93GLNwhgfVF8PSs

Linus Torvalds "Did What I Preach", Used AI To Make Code Decipherable & Uncovered More Bugs

Written by Michael Larabel in "Linux Kernel"

12 October 2026

From "LINUX KERNEL": After using Claude Code to draft code to help make a fundamental improvement to the Linux kernel, Linux creator Linus Torvalds continued using AI this weekend and talking up its benefits. Beyond generating initial patches and a test program for that noted I/O enhancement, he separately talked up using AI/LLMs for making patches more decipherable to understand in the process the AI noted more long-standing bugs within the Linux kernel.

With the delayed Linux 7.3-rc7 release, in addition to that "noref-filemap-read-with-llm" Git branch that appeared within Linus Torvalds' source tree, an "assoc-array-fixes" Git tag also appeared there on Sunday. Linus explained in that Git tag message that he "did what I preach" and used modern LLM tools to make sense of patches that were hard for him to follow. LLMs were used to confirm the original bug in question as well as having found three other bugs that existed in the code for more than the past decade.

Linus Torvalds wrote in the assoc-array-fixes Git tag:

"Nils Ollrogge reported a bug in the assoc_array library and had a patch to fix it too, but that code was too obscure for me to follow, so I did what I preach: use modern LLM tools to help make sense of it all"

So this is an LLM-assisted branch which makes the code more readable by splitting up some of the larger and hard-to-read functions. The code was then run through a test harness in user space, which not only confirmed the bug Nils reported, but found three other bugs too - all going back to the very first commit adding this library back in 2013."

The Linux assoc_array code is used for the kernel's associative array implementation.

Linus Torvalds Git message:

"The patches haven't yet been merged to the master branch but presumably will be punted off for the upcoming Linux 7.4 merge window"

Linus Torvalds is continuing to be more vocal about his AI/LLM usage and promoting its benefits as a tool for Linux kernel development.



Related News:

Linux 7.3-rc7 Released With Linux 7.3 Hopefully Out Next Weekend
Linus Torvalds Working On A Hefty Linux Kernel Improvement With Claude Code
Many Laptop & Gaming Handheld Support Improvements Coming For Linux 7.4
Linux Patches Finally Make Hibernation Possible In Secure Boot / Lockdown Mode
New AI Agent Resources Proposed For The Linux Kernel, AI Skills To Help Developers
Patches Updated To Begin Removing The Linux x32 ABI

About The Author:

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software.
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal