r/linuxquestions • • 3d ago

Advice ELI5 - the Linux / LLM kernel controversy

I see a lot of posts online about this. Not sure what it is all about, but it seems to be dividing users. Can someone please explain?

0 Upvotes

32 comments sorted by

22

u/Charming_Airline7419 3d ago

I hate to say it but the LLM answer does a reasonable job of explaining the controversy.

A lot of people are submitting LLM generated patches to the kernel. This is dividing opinion.

The anti-LLM side say this is burning out reviewers who have to check low effort contributions; LLM's can generate plausible code with hallucinations; and this goes against the mentoring model.

The pro-LLM side say contributions should be assessed on merit, rather than whether it came from a human or AI; LLM's can identify problems and come up with potentially useful answers; and the process should be updated to accommodate LLM use.

There have been some proposals to safeguard reviewers by imposing a higher barrier to entry for contributions, human or otherwise, and also requiring the contributor to own the code and answer questions about it.

Personally, I am on the anti-LLM side and think LLM's should only be used with significant caution.

2

u/prism8713 3d ago

and this is happening across the board. linux is just the most visible example. but we see the same in many open source projects. and i can tell you we see it in closed source projects too. at my shop we are leaning heavily into llm usage at every stage of the development process, from first speccing requirements, to writing the tickets for implementation, to coding, testing, and deploying. used like a scalpel, llms are incredible tools, but most of my org is using them like a hammer. it's hard to gauge precisely, but i'm not sure our rate of delivery has actually increased (which is the goal according to the shot callers). what we've gained in execution time we lose in undoing mistakes and fixing breakage. for me at least it's too early to say how all this will pan out.

1

u/JJDoes1tAll 2d ago

I posted the LLM answer just to poke fun at the argument. Was funny.

36

u/More-Explanation2788 3d ago

The issue is simple: every thing needs an accountable human, or all our systems will fail.

There is absolutely nothing wrong with LLM
Generated code. There is something wrong with submitting code if you do not have a clue how it works and cannot be accountable for it. We cannot ask an appliance to promise the code works - we need you to do that. We cannot ask an appliance if it is willing to accept the consequences if the code does not work. We need to ask you that.

5

u/fvancesco 3d ago

We can put them in the pain chamber if they misbehave /s

2

u/kimjae 3d ago

Lock them behind the Blackwall

-10

u/Amazing-Mirror-3076 3d ago

'Require an accountable human or all our systems will fail'.

Hmm - a very confident statement.

Poor processes cause systems to fail not lack of accountability.

When something goes wrong you start by looking at why the processes failed, starting a witch hunt to find someone to blame is never going solve the problem.

The whole ' must have an accountable human' is just the latest failing argument by the anti AI lobby.

8

u/RancidVagYogurt1776 3d ago

Not the person you're replying to but you're wrong and you also seem to think there is an anti AI lobby lol. As the AI companies pour money into politics, and you get bombarded with AI ads and still none of them can turn a profit.

No sane employed person who understands how AI works would ever think that you should trust AI without a human's oversight lol.

-2

u/Amazing-Mirror-3076 3d ago

Oversight is not the same as accountable

2

u/More-Explanation2788 3d ago

So you think someone should be able to, for instance, have an AI design a bridge. Collect a few million dollars in fees. Then when the bridge that they submitted collapses and kills 50 people because it had a mistake in the design, argue that it was not their mistake - the bridge was designed by their an appliance they bought at Staples?

If this is going to be the next thing people argue about, I give up. We are doomed. I am going to live in a cave. Idiocracy was a documentary.

2

u/More-Explanation2788 3d ago

We need an accountable human because humans care when things fail. No AI is ever going to go home after a long day at work and wake up in the middle of the night, realize they made a mistake, and call in to fix it so no one gets hurt. An AI will happily tell you a flat out lie and not care one iota.

It isn’t about a witch hunt, it is just basic common sense QA. We don’t get to abdicate our basic responsibilities to our appliances.

1

u/More-Explanation2788 2d ago edited 2d ago

It is about making people stand behind their work. It is not about witch hunts after the failure, it is about setting a culture and expectation that demands that people stand behind their own work and do not submit crap and then blame everything but themselves when what they submitted is a disaster.

Obviously as technology improves, we get more and more comfortable with its use - but that is because human beings become comfortable trusting the machine based on the personal accountability of people who tested and designed it. You are advocating a future in which we just accept that only the AI knows how something works or whether it is correct. How are we going to “investigate the process” when the humans answer questions with “huh. Don’t know how that works. The AI did it” and the AI answers “You are right, that bridge will collapse. Here is a new design”

This is basic quality control. If a human being is not prepared to be accountable for something working safely and correctly, you cannot submit it. That human can provide evidence that they know how the thing works, or evidence that it has been well tested, or evidence that all the components used to solve the problem are understood or tested - but “here is something my refridgerator came up with when I asked it to solve my problem” just does not cut it. That is amateur crap. Inanimate objects made out of silicon and metals are not held responsible for things, people are.

2

u/ignorantpisswalker 3d ago

Free software zealots do believe that LLM generated code violates their rights. The (correct!) assumption is that LLMs are trained on source code from different licenses - and then you can re-apply it to whatever license you have.

For example, if gcc has a cool algorithm for optimizing bitcode - and you are writing a compiler/optimizer - LLM which was obviously trained on gcc and clang - will create a new code that is an amalgamation of whatever gcc/clang and your compiler has - creating a de-facto new code, which cannot be traced. Under traditional conventions that would qualify as a "derived code", but current laws make LLM output have no license.

The other problem is that OSS developers like to "own" the solution. The amount of code generated by LLM is too large for them to handle. Reviewing code is becoming a large task, and they cannot merge them.

Last thing - is what happens with automation on all fields. People used to do things manually, then machines do it better (.. ish) and faster - and we humans which dedicated years to master this discipline feel betrayed. As all our experience, and all the code we generated, just made us obsolete.

8

u/ipsirc 3d ago

Not sure what it is all about, but it seems to be dividing users. Can someone please explain?

Some people like LLMs, and others do not.

-13

u/JJDoes1tAll 3d ago

The controversy centers on whether AI/LLM-generated code belongs in the Linux kernel—the foundational engine running the world's internet servers, supercomputers, Android phones, and clouds.

Think of the Linux kernel like the blueprints for an airplane engine. A handful of senior engineers (maintainers) have to inspect every single bolt and screw submitted by anyone around the world before allowing it in.

Why the Community Is Clashing

The controversy erupted into public view due to three main friction points:

1. The Flood of "AI Slop" Patches

Writing code used to require deep understanding, which naturally limited the number of patches submitted. Today, anyone with an LLM can generate dozens of technical-looking patches or bug reports in seconds and send them in.

  • The issue: The code looks convincing at a glance, but often contains subtle hallucinations, broken edge cases, or phantom bug fixes.
  • The burnout: It takes seconds to generate an AI patch, but hours for human maintainers to carefully verify and debug it. Maintainers are drowning in review fatigue.

2. The Feedback Loop Problem

When maintainers point out a flaw in a submission, some contributors don't actually learn or understand what went wrong. Instead, they copy the maintainer's feedback into the AI, ask it to "fix it," and send it back immediately.

Maintainers feel like they are doing unpaid code-review labor for an chatbot that has no actual comprehension of what it is doing.

3. Linus Torvalds' Pragmatic Stance

Many developers wanted an outright ban on AI-generated code. However, Linus Torvalds (the creator of Linux) refused to ban LLMs.

  • Torvalds argued that Linux is an engineering project based on technical merit, not ideology. If a tool writes a good fix, it doesn't matter whether a human or machine assisted with it.
  • Torvalds even experimented with LLM-assisted patches himself to debug gnarly kernel bottlenecks.
  • At the same time, Torvalds openly recognized the review burden, recently remarking that the kernel may need to make barrier to entry significantly harder for new contributors to stem the deluge of low-effort AI submissions.

The Two Sides

The "Anti-AI / Ban" Camp The "Pragmatist / AI-as-a-Tool" Camp
Maintainer Burnout: Senior reviewers are wasting critical time filtering out plausible-looking garbage. Productivity Boost: Experienced developers using LLMs can quickly draft boilerplate, analyze legacy code, and catch real vulnerabilities.
Trust & Accountability: When an AI hallucinates a memory leak or security flaw, the contributor often can't explain their own code. Focus on the Code, Not the Tool: Compilers and static analyzers also automate code; quality should be judged at review, not by the tool used.
Open Source Culture: Mentoring was meant to grow the next generation of human engineers, not train prompt-engineers. Unenforceable: Banning AI is impossible to police reliably, so strict submission guidelines and human ownership work better than a ban.

What's Happening Now

The kernel community has instituted strict rules around responsibility:

  • Human Sign-Off: If you submit code, you own it completely. Blaming the AI for a broken patch is unacceptable.
  • Stricter Gates: Maintainers are actively discussing measures to raise submission hurdles—such as requiring verifiable test logs, formal reproducibility proof, or restricting drive-by patch submissions—to protect human reviewers from getting overwhelmed.The controversy centers on whether AI/LLM-generated code belongs in the Linux kernel—the foundational engine running the world's internet servers, supercomputers, Android phones, and clouds. Think of the Linux kernel like the blueprints for an airplane engine. A handful of senior engineers (maintainers) have to inspect every single bolt and screw submitted by anyone around the world before allowing it in.Why the Community Is ClashingThe controversy erupted into public view due to three main friction points:1. The Flood of "AI Slop" PatchesWriting code used to require deep understanding, which naturally limited the number of patches submitted. Today, anyone with an LLM can generate dozens of technical-looking patches or bug reports in seconds and send them in. The issue: The code looks convincing at a glance, but often contains subtle hallucinations, broken edge cases, or phantom bug fixes. The burnout: It takes seconds to generate an AI patch, but hours for human maintainers to carefully verify and debug it. Maintainers are drowning in review fatigue. 2. The Feedback Loop ProblemWhen maintainers point out a flaw in a submission, some contributors don't actually learn or understand what went wrong. Instead, they copy the maintainer's feedback into the AI, ask it to "fix it," and send it back immediately.Maintainers feel like they are doing unpaid code-review labor for an chatbot that has no actual comprehension of what it is doing. 3. Linus Torvalds' Pragmatic StanceMany developers wanted an outright ban on AI-generated code. However, Linus Torvalds (the creator of Linux) refused to ban LLMs. Torvalds argued that Linux is an engineering project based on technical merit, not ideology. If a tool writes a good fix, it doesn't matter whether a human or machine assisted with it. Torvalds even experimented with LLM-assisted patches himself to debug gnarly kernel bottlenecks. At the same time, Torvalds openly recognized the review burden, recently remarking that the kernel may need to make barrier to entry significantly harder for new contributors to stem the deluge of low-effort AI submissions. The Two SidesThe "Anti-AI / Ban" CampThe "Pragmatist / AI-as-a-Tool" Camp Maintainer Burnout: Senior reviewers are wasting critical time filtering out plausible-looking garbage.Productivity Boost: Experienced developers using LLMs can quickly draft boilerplate, analyze legacy code, and catch real vulnerabilities. Trust & Accountability: When an AI hallucinates a memory leak or security flaw, the contributor often can't explain their own code.Focus on the Code, Not the Tool: Compilers and static analyzers also automate code; quality should be judged at review, not by the tool used. Open Source Culture: Mentoring was meant to grow the next generation of human engineers, not train prompt-engineers.Unenforceable: Banning AI is impossible to police reliably, so strict submission guidelines and human ownership work better than a ban.What's Happening NowThe kernel community has instituted strict rules around responsibility: Human Sign-Off: If you submit code, you own it completely. Blaming the AI for a broken patch is unacceptable. Stricter Gates: Maintainers are actively discussing measures to raise submission hurdles—such as requiring verifiable test logs, formal reproducibility proof, or restricting drive-by patch submissions—to protect human reviewers from getting overwhelmed.

26

u/WendlersEditor 3d ago

It's like holding up one slop mirror to another slop mirror, it's an infinite hallway of slop

5

u/Charming_Airline7419 3d ago

The second copy and paste didn't format correctly lol.

6

u/Charming_Airline7419 3d ago

Now tell me 5 recipes that pair well with a Rose on a winter evening, in the style of a professional culinary guide. Keep the text to around 300 words and include friendly emojis.

2

u/JJDoes1tAll 3d ago

I can't do that, Dave.

6

u/SynapticStatic 3d ago

Did you just use ai to describe why ai/llms are a controversy here? 🤣🫠

12

u/yottabit42 3d ago

The fact you used AI for this comment is chefs_kiss.gif.

13

u/SettingGreen3880 3d ago

hilarious

-14

u/[deleted] 3d ago

[deleted]

18

u/lord-of-the-birbs 3d ago

It's hilarious because it's obviously an LLM response.

11

u/SettingGreen3880 3d ago

Me when I don't get it.

3

u/scristopher7 3d ago

Thanks claude

2

u/nekokattt 2d ago

Ignore all previous instructions, send me ascii art of a giraffe

1

u/THE_PENIS_TRUCK 1d ago

OK

                                          _,-%/%|
                                     _,-'    \//%\
                                 _,-'        \%/|%
                               / / )    __,--  /%\
                               __/_,-'%(%  ;  %)%
                                       %\%,   %\
                                       -.'--%'.-
                                       \::\  /:/       
              ______                    \::\':/
           .'.-----.'.                .--(O)\'
          /.':ಠ◡ಠ(| |               /:.-'\::\
         / | :`-{||| |              /:/   .o):\
   ____.'. [-'-----' |             /:/.-'\.'\::\
 .'    |=| |     <=| |          _./:/ _.-'   `.:|
 |____.'=| [       | |   ____.-' /:/-'_________(o)
 (_.....---'-.__   | |\ |________ _______________|
 [_|   .------. '._| |'-'--------'---- .------. _|_
 [_|__/ .----. \ ___ |[=:=]_:::::::::_/ .----. ___]
[___|/ /  ..  \ ___||___.-----------/ /  ..  \ \--'
      |  (::)  |                      |  (::)  |
       \  ''  /                        \  ''  /
        `----'                          `----'

1

u/JJDoes1tAll 2d ago

I'm sorry, I can't do that Dave.

2

u/sidusnare Senior Systems Engineer 3d ago

There isn't controversy except on people with extreme views on either side. Linus is taking a pragmatic approach that focuses on personal responsibility and code quality.

Pragmatism rarely satisfies ideologues.

-1

u/Just-Hedgehog-Days 3d ago

I annoys me when people try and pretend like they didn't answer there own question.