RetroFed Forum
Your home away from modern life.
Linus Torvalds posts his first AI-assisted patch to the Linux kernel, synthetic test clocks 23x performance leap — the bossman makes use of AI tooling himself after issuing clear pro-AI directives
Post Reply
AuthorMessage
Ek-Hou-Van-Braai piefed.social Ek-Hou-Van-Braai@piefed.social
Joined: 2025-05-14
Quote

194   Original
Gladaed feddit.org Gladaed@feddit.org
Joined: 2024-06-26
#2 · Quote Reply

The directive isn't pro AI. It is pro results. It emphasized responsibility.

57
WesternInfidels feddit.online WesternInfidels@feddit.online
Joined: 2026-01-29
#3 · Quote Reply

The directive isn't pro AI. It is pro results. It emphasized responsibility.

What directive is that?

5
Lexam lemmy.world Lexam@lemmy.world
Joined: 2024-10-13
#4 · Quote Reply

What directive is that?

The Prime Directive.

25
sem piefed.blahaj.zone sem@piefed.blahaj.zone
Joined: 2025-09-04
#5 · Quote Reply

The directive isn't pro AI. It is pro results. It emphasized responsibility.

It also emphasized AI

27
keisatsu infosec.pub keisatsu@infosec.pub
Joined: 2023-06-12
#6 · (edited) Quote Reply

and in the process he introduced a race condition, a performance regression costing up to 9% when making reads of files around 1 MiB and dumped the responsibility of fixing his mess on co-maintainers and went on vacation.

153
affenlehrer feddit.org affenlehrer@feddit.org
Joined: 2025-03-06
#7 · Quote Reply

The Prime Directive.
  • Serve the public trust
  • Protect the innocent
  • Uphold the law
  • (CLASSIFIED)
32
A_norny_mousse piefed.social A_norny_mousse@piefed.social
Joined: 2026-09-27
#8 · Quote Reply

I always read this as shardware.

7
Schemen110676 lemmy.ml Schemen110676@lemmy.ml
Joined: 2023-06-13
#9 · Quote Reply

It also emphasized AI

It allows AI.. nothing more.

36
9tr6gyp3 lemmy.world 9tr6gyp3@lemmy.world
Joined: 2023-06-16
#10 · Quote Reply

and in the process he introduced a race condition, a performance regression costing up to 9% when making reads of files around 1 MiB and dumped the responsibility of fixing his mess on co-maintainers and went on vacation.

Isnt that because of a bug in f2fs, and not his kernel patch?

15
monkeyslikebananas2 lemmy.world monkeyslikebananas2@lemmy.world
Joined: 2023-06-18
#11 · Quote Reply

and in the process he introduced a race condition, a performance regression costing up to 9% when making reads of files around 1 MiB and dumped the responsibility of fixing his mess on co-maintainers and went on vacation.

Yeah but it sounds like three steps forward half a step back. Also, reviews/testing caught it. Sounds like the system is working. I’ve written quite a few race condition bugs in my 25 year career. That nobody caught until weeks in prod.

I understand the reluctance of AI but there’s no denying that AI in capable hands can be useful.

127
peopleproblems lemmy.world peopleproblems@lemmy.world
Joined: 2023-06-30
#12 · Quote Reply

Yeah but it sounds like three steps forward half a step back. Also, reviews/testing caught it. Sounds like the system is working. I’ve written quite a few race condition bugs in my 25 year career. That nobody caught until weeks in prod. I understand the reluctance of AI but there’s no denying that AI in capable hands can be useful.

In capable hands. Is the real issue. Too many people believe they are capable hands.

76
keisatsu infosec.pub keisatsu@infosec.pub
Joined: 2023-06-12
#13 · Quote Reply

Yeah but it sounds like three steps forward half a step back. Also, reviews/testing caught it. Sounds like the system is working. I’ve written quite a few race condition bugs in my 25 year career. That nobody caught until weeks in prod. I understand the reluctance of AI but there’s no denying that AI in capable hands can be useful.

if Linus, who has worked with the language AND the project for decades, can't find a race condition and a performance regression in his VERY FIRST LLM-assisted commit, then just maybe we should accept that humans are fucking horrible att catching the mistakes that clankers make and stop deluding us into thinking that this is the future of software engineering.

41
FlashMobOfOne lemmy.world FlashMobOfOne@lemmy.world
Joined: 2023-06-12
#14 · Quote Reply

Assuming these updates are fully tested before they're deployed, by a human, it shouldn't be that impactful negatively that AI is being used. The problem comes when updates are moved into production without human oversight.

But it gives me the heebie jeebies, since AI is known to make and fuck shit up, and I'm stuck using MS Teams every day in my job so I see all the weird shit that vibe coding produces. I don't relish the thought of weird, stupid shit happening to my Linux installation.

75
monkeyslikebananas2 lemmy.world monkeyslikebananas2@lemmy.world
Joined: 2023-06-18
#15 · (edited) Quote Reply

if Linus, who has worked with the language AND the project for decades, can't find a race condition and a performance regression in his VERY FIRST LLM-assisted commit, then just maybe we should accept that humans are fucking horrible att catching the mistakes that clankers make and stop deluding us into thinking that this is the future of software engineering.

Ok. Looks like the process just needs to do more testing/validation in CI.

What’s your alternative? just stop progress here? No more new things?

-21
tinsukE lemmy.world tinsuke@lemmy.world
Joined: 2023-06-18
#16 · Quote Reply

I always read this as shardware.

Thanks for ruining it for me now.

1
keisatsu infosec.pub keisatsu@infosec.pub
Joined: 2023-06-12
#17 · Quote Reply

Ok. Looks like the process just needs to do more testing/validation in CI. What’s your alternative? just stop progress here? No more new things?

How about we keep relying on deterministic tooling that are not built on stolen data and don't fuck the economy and the environment at the same time? How about putting a fraction of the money invested i LLMs into SAST and DAST tools? Maybe a dollar or two for fuzz testers? How about we look at projects like curl and build safeguards into the project to avoid footguns?

43
dontbelievethis sh.itjust.works dontbelievethis@sh.itjust.works
Joined: 2025-06-07
#18 · Quote Reply

and in the process he introduced a race condition, a performance regression costing up to 9% when making reads of files around 1 MiB and dumped the responsibility of fixing his mess on co-maintainers and went on vacation.

How does this compare to his usual patches?

4
monkeyslikebananas2 lemmy.world monkeyslikebananas2@lemmy.world
Joined: 2023-06-18
#19 · Quote Reply

How about we keep relying on deterministic tooling that are not built on stolen data and don't fuck the economy and the environment at the same time? How about putting a fraction of the money invested i LLMs into SAST and DAST tools? Maybe a dollar or two for fuzz testers? How about we look at projects like curl and build safeguards into the project to avoid footguns?

I’m not opposed, that honestly sounds good. Now, let’s wish in one hand and shit in the other and see which fills up first.

People will do what they do.

I run small local models, I do a lot of what you are saying. However this technology and process is new. Yeah capitalism will fuck everything up but you can’t control people.

-13
pageflight piefed.social pageflight@piefed.social
Joined: 2025-09-04
#20 · Quote Reply

Assuming these updates are fully tested before they're deployed, by a human, it shouldn't be that impactful negatively that AI is being used. The problem comes when updates are moved into production without human oversight. But it gives me the heebie jeebies, since AI is known to make and fuck shit up, and I'm stuck using MS Teams every day in my job so I see all the weird shit that vibe coding...

Human review of AI is sufficient in theory, but in practice it's never as thorough as the understanding you get writing it yourself. It's hard to avoid AI, but it is a constant invitation to laziness.

32
Ek-Hou-Van-Braai piefed.social Ek-Hou-Van-Braai@piefed.social
Joined: 2025-05-14
#21 · Quote Reply

In capable hands. Is the real issue. Too many people believe they are capable hands.

That's not a new issue.

The absolute slop I've seen people hand write long before AI is actually impressive.

AI is just a force multiplier

18
Whostosay sh.itjust.works Whostosay@sh.itjust.works
Joined: 2025-07-16
#22 · Quote Reply

I’m not opposed, that honestly sounds good. Now, let’s wish in one hand and shit in the other and see which fills up first. People will do what they do. I run small local models, I do a lot of what you are saying. However this technology and process is new. Yeah capitalism will fuck everything up but you can’t control people.

Capitalism is a control mechanism for people

8
monkeyslikebananas2 lemmy.world monkeyslikebananas2@lemmy.world
Joined: 2023-06-18
#23 · Quote Reply

Capitalism is a control mechanism for people

So let’s make a competing one and swap it out for something else. Oh and by tomorrow, I’ll wait.

Just because there are better options doesn’t mean you can change it over night and without set backs.

-3
ColeSloth discuss.tchncs.de ColeSloth@discuss.tchncs.de
Joined: 2023-08-18
#24 · Quote Reply

In capable hands. Is the real issue. Too many people believe they are capable hands.

Capable hands are going to quickly diminish as people grow up around vibe coding.

62
Whostosay sh.itjust.works Whostosay@sh.itjust.works
Joined: 2025-07-16
#25 · Quote Reply

So let’s make a competing one and swap it out for something else. Oh and by tomorrow, I’ll wait. Just because there are better options doesn’t mean you can change it over night and without set backs.

I never said all that, was just pointing out that people are already effectively controlled. Just a little bonus aside, carry on

4
FlashMobOfOne lemmy.world FlashMobOfOne@lemmy.world
Joined: 2023-06-12
#26 · Quote Reply

Human review of AI is sufficient in theory, but in practice it's never as thorough as the understanding you get writing it yourself. It's hard to avoid AI, but it is a constant invitation to laziness.

You're not wrong. I personally prefer to do the work my self.

4
monkeyslikebananas2 lemmy.world monkeyslikebananas2@lemmy.world
Joined: 2023-06-18
#27 · Quote Reply

I never said all that, was just pointing out that people are already effectively controlled. Just a little bonus aside, carry on

Understood. My bad just get a lot of comments saying we need to change things. I agree with a lot of what people say on here.

-2
FauxLiving lemmy.world FauxLiving@lemmy.world
Joined: 2025-02-10
#28 · Quote Reply

How does this compare to his usual patches?

This is the first time a bug has been introduced into Linux, the AI apocalypse is truly upon us.

12
FauxLiving lemmy.world FauxLiving@lemmy.world
Joined: 2025-02-10
#29 · Quote Reply

I always read this as shardware.

Calm down, Wit

1
Whostosay sh.itjust.works Whostosay@sh.itjust.works
Joined: 2025-07-16
#30 · Quote Reply

Understood. My bad just get a lot of comments saying we need to change things. I agree with a lot of what people say on here.

No worries homie

1
🇨🇦GreenBeard🇨🇦 lemmy.ca GreenBeard@lemmy.ca
Joined: 2025-02-11
#31 · Quote Reply

Assuming these updates are fully tested before they're deployed, by a human, it shouldn't be that impactful negatively that AI is being used. The problem comes when updates are moved into production without human oversight. But it gives me the heebie jeebies, since AI is known to make and fuck shit up, and I'm stuck using MS Teams every day in my job so I see all the weird shit that vibe coding...

One thing I'm noticing about AI code is it's very, very task oriented. Like it will produce code, that works for the one objective, but absolutely will not account for other interactions with other parts of the system. It's really bad at juggling multiple priorities so for every solution it creates, it causes another 2 problems with other parts of the stack. Human coders would design a solution that takes those interactions into account from the ground up. With an AI solution, you kind of have to rebuild those interactions as an afterthought, which is where a lot of failures occur. Since interaction of multiple subsystems is kind of the whole point of a kernel... I have concerns.

22
sem piefed.blahaj.zone sem@piefed.blahaj.zone
Joined: 2025-09-04
#32 · Quote Reply

It allows AI.. nothing more.

We muat be reading different flames

-7
iocase lemmy.zip iocase@lemmy.zip
Joined: 2026-05-11
#33 · (edited) Quote Reply

Assuming these updates are fully tested before they're deployed, by a human, it shouldn't be that impactful negatively that AI is being used. The problem comes when updates are moved into production without human oversight. But it gives me the heebie jeebies, since AI is known to make and fuck shit up, and I'm stuck using MS Teams every day in my job so I see all the weird shit that vibe coding...

Plus studies on skill decay when using AI. Also the linux maintainer onboarding pipeline—which was already critically endangered—is now no longer building understanding through writing code, just monitoring it's generation.

I personally think you need to write a language by hand without AI doing it for you to learn in detail. It's like trying to learn how to do math or how to write mandarin by just supervising an AI doing it... you need to do it yourself. Supervising is fine if you're already fluent in mandarin and have been writing it for years and years. If you're just learning it's less than useless. If anything its directly harmful to learning.

Same with speaking a language yourself without crutching your native language as the best method to learn to speak it (immersion)

Edit:
The long term externalities of AI—like pretty much everything nowadays—is going to be made worse by short term thinking. Quarterly profits and yearly results take precedence over long term skill development. Even OSS like linux will eat its seed corn out of expediency because of a lack of maintainers and new candidates being onboarded into the ivory tower mailing lists...

44
ExcessShiv lemmy.dbzer0.com ExcessShiv@lemmy.dbzer0.com
Joined: 2024-04-23
#34 · Quote Reply

One thing I'm noticing about AI code is it's very, very task oriented. Like it will produce code, that works for the one objective, but absolutely will not account for other interactions with other parts of the system. It's really bad at juggling multiple priorities so for every solution it creates, it causes another 2 problems with other parts of the stack. Human coders would design a solution...

Human coders would design a solution that takes those interactions into account from the ground up.

Lol, this only happens in Utopia

3
FlashMobOfOne lemmy.world FlashMobOfOne@lemmy.world
Joined: 2023-06-12
#35 · Quote Reply

Plus studies on skill decay when using AI. Also the linux maintainer onboarding pipeline—which was already critically endangered—is now no longer building understanding through writing code, just monitoring it's generation. I personally think you need to write a language by hand without AI doing it for you to learn in detail. It's like trying to learn how to do math or how to write mandarin by ...

Yup, fair points.

3
🇨🇦GreenBeard🇨🇦 lemmy.ca GreenBeard@lemmy.ca
Joined: 2025-02-11
#36 · Quote Reply

Human coders would design a solution that takes those interactions into account from the ground up. Lol, this only happens in Utopia

Utopic might be a bit of a stretch, but I should probably qualify that as good human coders.

13
snooggums piefed.world snooggums@piefed.world
Joined: 2025-07-08
#37 · Quote Reply

Human review of AI is sufficient in theory, but in practice it's never as thorough as the understanding you get writing it yourself. It's hard to avoid AI, but it is a constant invitation to laziness.

Unlike reviewing a human who writes code there is zero chance of AI learning from the past and making fewer mistakes in the future. At a least a human has a chance of becoming better at coding from review feedback.

18
rizzothesmall sh.itjust.works rizzothesmall@sh.itjust.works
Joined: 2025-06-22
#38 · Quote Reply

Using AI tooling is fine as long as you know what's being written by it.

I'm still a massive fan of copilot auto-complete because you're still laying out the structure of the code and can hint at what you want with strong naming and good doc strings which are good practice anyway, and then the copilot finishes your thoughts and you save time. Especially good at rigging up tests.

6
eicker lemmy.world eicker@lemmy.world
Joined: 2026-07-11
#39 · Quote Reply

Using AI tooling is fine as long as you know what's being written by it. I'm still a massive fan of copilot auto-complete because you're still laying out the structure of the code and can hint at what you want with strong naming and good doc strings which are good practice anyway, and then the copilot finishes your thoughts and you save time. Especially good at rigging up tests.

This! 💪😎✌️

-5
BJW lemmus.org Epp@lemmus.org
Joined: 2026-02-12
#40 · Quote Reply

Unlike reviewing a human who writes code there is zero chance of AI learning from the past and making fewer mistakes in the future. At a least a human has a chance of becoming better at coding from review feedback.

No? Are you not aware of the concept of "memories"? AI do indeed take feedback into account, if they're designed to.

-17
snooggums piefed.world snooggums@piefed.world
Joined: 2025-07-08
#41 · Quote Reply

No? Are you not aware of the concept of "memories"? AI do indeed take feedback into account, if they're designed to.

AI does not have memories.

It has a comparatively small context window that makes things worse the more it fills up.

18
BJW lemmus.org Epp@lemmus.org
Joined: 2026-02-12
#42 · Quote Reply

AI does not have memories. It has a comparatively small context window that makes things worse the more it fills up.

You are mistaken. Some AI models do indeed have memories.

-13
joey_builds eviltoast.org joey_builds@eviltoast.org
Joined: 2026-10-14
#43 · Quote Reply

What gets me is that this is roughly the best-case scenario for "capable hands" — Linus knows this codebase better than anyone alive — and a race condition plus a 9% read regression still slipped through on the first attempt. Reviews and testing caught it, which is the system working, but it moves the bottleneck from writing code to reviewing it. And review doesn't scale the way generation does; skimming a patch is quick, but actually proving an LLM-assisted one is correct takes real effort. I say that as someone who uses AI tooling daily — reading code you didn't write is genuinely more tiring than writing it, and that tax compounds the more you lean on generation. The maintainer-burnout angle might end up being the real story here, more than the AI one.

90
spacegoat lemmy.world spacegoat@lemmy.world
Joined: 2023-06-28
#44 · Quote Reply

Dubious claim

4
DaTingGoBrrr lemmy.ml DaTingGoBrrr@lemmy.ml
Joined: 2023-07-21
#45 · Quote Reply

You are mistaken. Some AI models do indeed have memories.

They save some strings in a document to later read and "remember". Calling them memories is a reach.

9
Sundray lemmus.org sundray@lemmus.org
Joined: 2023-12-19
#46 · Quote Reply

Using AI tooling is fine as long as you know what's being written by it. I'm still a massive fan of copilot auto-complete because you're still laying out the structure of the code and can hint at what you want with strong naming and good doc strings which are good practice anyway, and then the copilot finishes your thoughts and you save time. Especially good at rigging up tests.

Didn't that used to be called Intellisense?

7
pageflight piefed.social pageflight@piefed.social
Joined: 2025-09-04
#47 · Quote Reply

No? Are you not aware of the concept of "memories"? AI do indeed take feedback into account, if they're designed to.

The auto-generated memories I've seen it create are pretty inane: "always name variables container_ when in MySpecificClass". Not really learning engineering principles.

Similar, I've found AGENT.md files might nudge it in the right direction, but as always it's a fuzzy matcher, not a learning engineer.

9
peopleproblems lemmy.world peopleproblems@lemmy.world
Joined: 2023-06-30
#48 · Quote Reply

That's not a new issue. The absolute slop I've seen people hand write long before AI is actually impressive. AI is just a force multiplier

I mean, fine. But its easier to fix human written slop over AI slop solely because of the sheer volume of AI slop.

11
BJW lemmus.org Epp@lemmus.org
Joined: 2026-02-12
#49 · Quote Reply

They save some strings in a document to later read and "remember". Calling them memories is a reach.

My point stands that they can learn from feedback. Your memories are only information in a virtual document, too. Just as susceptible to corruption, or misinterpretation.

-6
BJW lemmus.org Epp@lemmus.org
Joined: 2026-02-12
#50 · Quote Reply

The auto-generated memories I've seen it create are pretty inane: "always name variables container_ when in MySpecificClass". Not really learning engineering principles. Similar, I've found AGENT.md files might nudge it in the right direction, but as always it's a fuzzy matcher, not a learning engineer.

It's best to generate memories manually, but I've had good fortune with auto-generated so far. At least using Co-pilot.

I have found it best to have another AI generate the agent.md - having a layer of interpretation can really clarify the information imparted.

-8
architect thelemmy.club architect@thelemmy.club
Joined: 2025-09-04
#51 · Quote Reply

Utopic might be a bit of a stretch, but I should probably qualify that as good human coders.

Which Microsoft apparently has access to zero of them.

3
Post Reply Page 1 of 3   Goto page 1, 2, 3 Last »
Back to top