Where the Next Maintainers Learn

· Abby Kearns ·

4 min read Original article ↗

At the Linux kernel’s Maintainers Summit in Prague on October 8, Linus Torvalds told the room he had used an LLM on kernel work for the first time the week before, and that the result left him unwilling to work without one. As LWN’s Jonathan Corbet reported, his example was a practical one: why bother searching for every call site of a function he had just changed when a tool can fix them for him?

The kernel is about as demanding as codebases get, and Torvalds has held it to his (very high) standards for 35 years. If he now finds LLMs useful, that says a lot about how far AI tools have come. Last week I wrote about projects closing pull requests because AI made contributions cheap to write and no cheaper to review. The kernel kept its door open, and Torvalds’ own experience shows what it now takes to walk through it.

Torvalds spent several months experimenting with an LLM on a separate project to learn the technology, and said “it took six months to set up the tool to not produce bad responses.” He ends each session with a cleanup pass, and as Corbet describes it, that amount of work can’t be done with a free LLM account.

He could make that setup work because he already knows the kernel better than almost anyone. He could tell when a response was bad, and how to steer the tool toward a better one.

The 7.3 development cycle brought nearly 800 first-time contributors, and about one in ten changesets was labeled as AI-assisted. Torvalds said the kernel is now getting more patches from people who don’t know the codebase, and that contributors have two ways in: put in the effort to learn it, or spend enough on an LLM to participate (and judging by his own six months, that means time as well as money). Arnd Bergmann said he had become discouraged because people using LLMs don’t learn, citing one submitter who sent 50 versions of a patch. Shuah Khan was more hopeful. She still spends a lot of time with people sending spelling fixes, and can tell fairly quickly which ones will stick around.

Torvalds’ own experience shows why those two paths don’t always lead to the same place. It’s something I’ve been thinking about a lot as AI tools gain traction. His six months worked because he brought decades of experience to them, and had a deep understanding of the fundamentals. A newcomer could spend the same time and money and get the output, without yet having the expertise to know whether it’s right. Most maintainers built that expertise over time through review and iteration: send a small patch, have it picked apart, try again, and slowly learn why the code is the way it is. AI can help someone learn too, as long as they want to and the process still gives them a reason to.

PHP ran into the same shortage this week: people who know the code well enough to decide how to fix it. On October 21, the project shipped fixes for two critical vulnerabilities that could let an unauthenticated attacker run code on web servers running PHP. The underlying bug had been around for a while. A core developer first spotted signs of it in 2024, and in August, Calif reported that it could be exploited remotely. OpenAI later found it independently. (Finding bugs is the part AI has made cheap.) What took time was choosing how to fix it. The team had several options, each with tradeoffs, and few people with the deep engine knowledge to judge between them, so work would “stall and restart repeatedly over months.” The PHP Foundation called the delay “a structural failure, caused by both the security team’s decision process and its lack of resources.”

Meanwhile, the number of incoming reports has grown. The Foundation says AI-assisted research means its security team “receives far more reports than before,” which puts more pressure on the same small group of people.

Whether a project allows AI tools matters less than whether it is still growing the number of people who can do what Torvalds did: judge what these new tools produce. Projects can document the way to enter, but experienced developers still need time to walk it with someone new, working through difficult reviews together until the newcomer can make that call on their own.

Companies that depend on these projects should fund that time. Torvalds could make the tool work because he had 35 years with the kernel behind him. What would it take for the next maintainers to build even part of that, in projects where review time is already scarce?

Discussion about this post

Ready for more?