posted in Technology
Linus Torvalds let Claude Code fix the Linux page cache. Then reviewers found a race.
They got to him
thenewstack.io/torvalds-claude-code-kernel/posted in Technology
Linus Torvalds let Claude Code fix the Linux page cache. Then reviewers found a race.
They got to him
thenewstack.io/torvalds-claude-code-kernel/AI written article
Replying to @decolo@piefed.social
What do you base that claim on?
It says:
Oct 14th, 2026 6:59pm by Amanda Caswell
The New StackAmanda CaswellReplying to @Buffalox@lemmy.world
Right there in your link, it says she’s AI:
Amanda Caswell is an AI journalist
/s
Replying to @davidgro@lemmy.world
Goddammit you had me there until the /s. 🤣
Replying to @davidgro@lemmy.world
"AI journalist" is just as confusing as "child killer"
Is it an AI pretending to be a journo (is it a child who's a killer), or is it a journo writing about AI (is it a killer targeting children)?
Replying to @fonix232@fedia.io
English would prefer killer child instead of child killer for the former because killer can behave as a qualifier.
Similarly, AI can act as a qualifier and while sports journalist is valid, any journalist writing about AI code, AI agent, AI whatever must realize what AI journalist sounds like
Replying to @kunaltyagi@programming.dev
word play is fun
Replying to @fonix232@fedia.io
Not really… “AI journalist” might refer to a plain old astroturfing spambot, or to one piloting a reverse centaur, but it’s still the same old spambot when it comes to it, and it’ll still be spewing the same worthless slop, so the distinction is mostly moot, merely making the latter option a bit more tragic.
Replying to @davidgro@lemmy.world
I believe it should be spelled “meat proxy”
Replying to @giiicmrp@sopuli.xyz
I just saw someone call it “cuck coding” (vs “vibe coding”), because you just sit there.
This would make meat proxies Code Cucks instead.
Replying to @Buffalox@lemmy.world
It’s just a super weird article. It goes into extreme detail randomly, mentioning specific function names and memory mechanisms, but doesn’t explain any of it.
This happens when an LLM reads a bunch of pages with stuff it doesn’t have much internal knowledge about, and then tries to summarize that into an article.
Replying to @Damarus@feddit.org
It’s either written by a LLM that’s been instructed to drag the little info it had forever, or written by a human that is very convincing at producing robotic, unnaturally articulated text.
Title, summary, first paragraph are basically the same sentence slightly reformulated, and then the rest is going back to every bit of it like a list of bullet points, almost failing to add anything valuable.
I found it painful to parse, and it really does not feel human-like.
it is a real person, but GPTZero gives it a 100/100, and given she’s a proud “prompt engineer” I’m inclined to believe she doesn’t do all the writing without… “assistance”.
Replying to @AmbitiousProcess@piefed.social
This happens when an LLM reads a bunch of pages with stuff it doesn't have much internal knowledge about, and then tries to summarize that into an article.
LLMs do not have knowledge about anything.
Replying to @Doll_Tow_Jet-ski@fedia.io
Tell me you don’t know how deep learning works without telling me you don’t know how deep learning works.
Replying to @Gladaed@feddit.org
Tell me you have zero education in epistemology without telling me you have zero education in epistemology.
Books contain knowledge, I doubt you will find many English scholars that disagree with that. In the same way, LLMs contain knowledge as well, they just also have the ability to output that knowledge in a more dynamic way than a book. You can argue some words that are more anthropomorphic, but knowledge has been attributed to inanimate objects for millennia.
Replying to @greybeard@feddit.online
No, LLMs only contain a bunch of numbers that predict which word is likely to follow the previous ones. Their output resembles knowledge simply because the most likely combination of words is one meant to convey information.
And books just contain a series of words. You are playing semantics games. An ebook is just a bunch of electrons shoved into a rock. Yet, somehow, it also contains knowledge.
In a less abstract way, LLMs giant relational databases that are expressed by using the relationship between previous words to select a word that might follow. It’s in the relational graph that the knowledge is stored. The information is there, and the way we’ve figured out best to get it out is by generating tokens.
Replying to @AmbitiousProcess@piefed.social
Not justification for the accusation.
Everything is possibly AI slob, that doesn’t justify calling everything AI slob.
This comment is ai slop.
Replying to @RickyRigatoni@piefed.zip
these downvotes are ai slop
Replying to @RickyRigatoni@piefed.zip
You’re not wrong. This entire story is not unique in any capacity honestly. The story even points out other developers have tried to fix this issue with problem.
The only thing that changed, is that someone saw this time it said “AI”, and got a boner thinking about the upvotes and attention they could receive
Replying to @mannycalavera@feddit.uk
On Tuesday, he submitted a 10-patch series that delivered a 23-fold throughput improvement in a synthetic benchmark
Impressive, probably kind of like I can answer math questions very very fast.
Reviewers have since identified a race condition and raised concerns about memory reclamation.
That what I thought, I can answer math questions fast, but I don’t claim to be able to answer them correctly.
Replying to @Buffalox@lemmy.world
So you’re saying the review process worked as designed?
Yes, but it’s bad because software has bugs.
Replying to @Diplomjodler3@lemmy.world
Maybe it did, but apparently the code was not properly reviewed initially, so there could be other hidden problems.
Of course that’s the same for human made code, but there’s a problem in only judging code from how it performs, and not actually understanding the code. And that seems to be the situation with a lot of AI code.
Replying to @Buffalox@lemmy.world
And particularly disturbing when the human understanding failure is from the original and lead Linux developer.
Is it an understanding failure, an unexpected interaction, or just an existing issue now exposed? A 23x performance increase could very well expose an existing race condition that systems weren’t fast enough to run into.
People make mistakes. Software bugs existing at all is proof of this. This is certainly not the first time a change Torvalds approved has an issue, and it won’t be the last.
There’s a reason code is reviewed, and there’s a reason people still go through after it is approved and verify. The process is working exactly as designed, the way it has for decades before AI coding.
Expecting absolute perfection is ridiculous, the anti-AI circlejerk acting like only AI fucks up just makes them look ridiculous. Any developer could have developed this fix, and there would be no article. Nothing in this issue is specific to AI usage and treating it like it is somehow special just undermines arguments against AI slop and vibe coding in general.
Replying to @db2@lemmy.world
100% that is the worst place to have the problem originate.
I have rarely disagreed with Linus Torvalds on things regarding the kernel, and maybe I’m wrong, but I strongly disagree with him on this issue. Contributing code nobody understands cannot be a good thing.
Replying to @Buffalox@lemmy.world
Contributing code nobody understands cannot be a good thing.
You people act like Linux adopted an all-AI pipeline.
Replying to @Buffalox@lemmy.world
The code still undergoes the exact same code review as before, because humans were the original slop coders.
The standards needed for code to be accepted haven’t changed at all. Even the code Linus personally is reviewed…
Replying to @auzy1@lemmy.world
The code still undergoes the exact same code review as before.
That’s not good enough, because it is well documented that AI often make mistakes and absolutely needs to undergo way stricter review.
It is also well documented that although you can achieve some results quickly, AI code also quickly becomes impossible to maintain.
If nobody understands the code, as it seems was the case here, and it is introduced anyway, the kernel is doomed to deteriorate.
My wife has already noticed deteriorating quality in Debian, with system hangs after they loosened the requirements for AI code. The quality of Debian now is lower than it has been in a decade!
Maybe you need to watch something like this:
Replying to @Buffalox@lemmy.world
Lol. That guy banned me from his community yesterday. He doesn’t want debate, he wants to be surrounded in yes men and it’s clear he has no idea how the kernel process works.
That was after I pointed out that submissions to the kernel go through a huge process to get to main
I actually checked, and I can’t find any evidence whatsoever he contributes code anywhere, and his blog is at best described as human slop. It’s fairly obvious that he already had a conclusion, and tried digging up anything to support it.
He basically thrives on rage bait
Well documented by who exactly? Show some examples please. Because in my own experience over the past year, I’ve resolved probably hundreds of bugs in our products and a lot of it was due to AI identifying logic bugs. It can produce crappy code, but I’ve also had to review some absolutely crap code too. The kernel team have been discussing providing official AI agents files and such to help the code match what they’re after
Nobody is generating AI code and simply pushing it to main lol. And, if you submit badly written code immediately, the team are going to spot it easily
Also, if you’re getting system hangs, there are so many possibilities for that. Define system hangs for starters. That could be anything, but it’s been the opposite of my experience. At best it’s anecdotal. At worst you have a gpu driver possibly with a single bug causing issues
I can’t remember the last time my nuc 14 pro plus hung for anything other than self stupidity
Replying to @auzy1@lemmy.world
Lol. That guy banned me from his community
Maybe because you are making stupid ignorant comments.
Replying to @Buffalox@lemmy.world
Or maybe his blog post falls apart completely by simply pointing out that AI isn’t approving code, code doesn’t go straight to main, and all code is manually code reviewed by human.
And his blog is pages of slop.
Replying to @auzy1@lemmy.world
AI isn’t approving code
You really seem to believe that’s a good point, but it isn’t.
It is an extremely well documented fact that critical/independent thinking declines with use of AI, and you apparently have zero understanding of that fact.
Replying to @Buffalox@lemmy.world
You seem to believe that’s a great response. At this point, you’re just arguing (which seems to be most of your Lemmy history).
If you want to argue that a journalist with a slop blog and no evidence of being a developer anywhere is credible, that’s up to you.
All I see is obviously bad journalism from a guy who wants attention…
Replying to @Buffalox@lemmy.world
Did you even read that 1 study you’re repeating, or just click the link
If you read the study, they ran the tests over 13 mins only. And, they didn’t keep retesting to see if results changed over time either. If that ran the test over an hour, both results may have ended up at similar levels (we don’t know because it only tested over a short time)
You need to learn to stop exaggerating or actually read crap instead of just the headline lol
I know it’s the same study we both (or presumably just myself) read, because it was the only one. I wouldn’t call that “extremely well” anything
Replying to @Buffalox@lemmy.world
So, let me get this right. You’re disapproving on how things were handled based on your speculation of how it went?
Replying to @Diplomjodler3@lemmy.world
Not based on speculation, based on numerous analysis of the problems with using AI code you don’t understand.
Clearly Linus failed to understand the code, otherwise he wouldn’t have suggested it for submission.
You seem to have a problem with criticism of Linus, is it a religious thing?
Replying to @Buffalox@lemmy.world
Of course of course. How dare you blaspheme against our Lord and Saviour, filthy infidel!
But anyway, I’d like to be as enlightened as you. Could you name any of those numerous analyses that detail exactly what Torvalds did and what he failed to understand?
Replying to @Diplomjodler3@lemmy.world
No I can’t, because those are so general and commonly known, that if you somehow are unaware, you must have been living under a rock for the past year.
The second option is that you are just trolling or for some reason is in denial.
Either way I’m not wasting my time on any of those options.
Replying to @Buffalox@lemmy.world
You understand it less it sounds like.
This isn’t a unique or interesting story in any capacity… It’s boring and normal
Replying to @auzy1@lemmy.world
Race Conditions are common.
For Christ sake, of course I know that.
Replying to @Diplomjodler3@lemmy.world
Only while there are still reviewers who care to review the slop. Which is a rare breed and will quickly soon vanish.
Replying to @devfuuu@lemmy.world
I bet some projects will get more tolerance and love than others, based on value and utility. The kernel will get more, and Systemd will get less.
Replying to @Buffalox@lemmy.world
It seems that after the initial AI-generated patches there’s been good discussion amongst the kernel devs about sorting out the issues, and a few revisions already that have tidied things up a bit.
So if after all that there ends up being a good performance improvement directly from a revised AI-created patch, what do I do with my pitchfork? Still raised angrily? Half-mast? Do I just let the torch smoulder?
Replying to @dgriffith@aussie.zone
Wonder how much time it had taken without AI
Torvalds had spent 18 months running a broken version of his own fix for the page-cache reference-counting bottleneck, while other developers had encountered problems with their approaches.
The article mentions he had been working on solving the issue for 18 months already… so at least that long.
Replying to @dgriffith@aussie.zone
You have to vow to use a new fork (which someone else should totally create) which does not contain this one specific patch.
Replying to @FauxLiving@lemmy.world
And cause more environmental harm through inefficient tech?
Replying to @FauxLiving@lemmy.world
which someone else should totally create
Congratulations and thank you for volunteering! I look forward to your repo release. You are never allowed to stop maintaining this fork.
Replying to @Calfpupa@lemmy.ml
I look forward to the community providing an outline of tools and techniques that I’m allowed to use and/or being labeled as woke/nazi depending on which brand of social media outrage is currently waxing.
Replying to @FauxLiving@lemmy.world
Man, people really don’t like systemd
Replying to @mannycalavera@feddit.uk
Amanda Caswell
Amanda Caswell is an AI journalist, certified prompt engineer, and technology commentator whose work and expertise have been featured on Fox News and CBS News.
Replying to @mynameisbob@lemmy.ml
certified prompt engineer 🤣
She gipity… If not she mine as well be. We are yammering over a techno fart.
Amanda Caswell is an AI journalisturd, certified prompturd engineer, and turdnology commentaturder whose slop and nonsense has been featured on Fox News and CBS News.
Replying to @mynameisbob@lemmy.ml
lol “certified prompt engineer” is a thing?
Replying to @mynameisbob@lemmy.ml
certified prompt engineer 🙄
Replying to @mannycalavera@feddit.uk
Linus probably uses AI effectively, but the question is how long until his skill deteriorate because of it.
Replying to @themachinestops@lemmy.dbzer0.com
Skill of what? If anything his skill of how not to fuck up will improve.
Replying to @themachinestops@lemmy.dbzer0.com
I’d be more concerned with him and people of that generation aging out maintaining the project first, and newer generations not having the skills to begin with to carry it forward.
Replying to @bamboo@lemmy.blahaj.zone
of that generation
Ouch.
I think ‘we’ have about 20 years left in us. That’s long enough for an entire new pet language to be born, surge, wane, and then die. …or 27 entirely new web frameworks.
Replying to @corsicanguppy@lemmy.ca
Code monkeys of a certain age
Linus is 56. You think he’ll still be actively maintaining Linux into his mid-70s?
Replying to @bamboo@lemmy.blahaj.zone
Yeah. Linux maintenace becomes a paid subscription through the ai providers
Replying to @bamboo@lemmy.blahaj.zone
I don’t know. People are creative. They’ll get burned and learn from their mistakes. At least, the ones who do will survive in their careers — then pass on the knowledge, repeat. So I imagine Linus will be replaced just fine when he retires. Wait until we’re 2 or 3 generations into using AI for development. It’s not like people are rocks; people don’t tend to just keep sinking.
Replying to @bamboo@lemmy.blahaj.zone
It’s hard to believe he’s not also thinking about succession and actively mentoring younger folks. The Linux kernel is his baby and he seems enmeshed enough on the community level. He’s smart enough to not simply leave it to chance.
Replying to @some_kind_of_guy@lemmy.world
Tarvads successor has been named a long time ago, although I don’t believe he’s “young” but succession has been arranged for the Linux kernel.
Replying to @bamboo@lemmy.blahaj.zone
This is why my hope is on Redox OS. I wish it would get a bit more resources.
Replying to @themachinestops@lemmy.dbzer0.com
Linus hasn’t programmed much for years. He is a manager. I imagine lots of managers are seduced by vibe coding. Programming can be a real slog and takes so much time. Why walk when you can drive?
The problem isn’t with Linus losing his skills but sustainability of the entire FOSS space. I don’t think many young programmers are ever going to learn the lessons Linus did as a young person and those lessons are still very relevant for low level code working closely with hardware. When the pre-LLM programmers age out I think we are going to be treading water for years with LLM regurgitating variations on the same old human code without much direction or innovation.
It is arguably a different situation for something like webdev which is mostly paint by numbers or enterprise software that is solving the same problems over and over.
Replying to @shirro@aussie.zone
This ^^^
It’s a, err, medium term problem. There’s going to be a serious deficit of attentive human problem solvers before anything can “automate” that away.
Replying to @shirro@aussie.zone
Why walk when you can drive?
Depends on how much you drive. If you do it long enough that you forget how to walk, you’ll be stuck when the car runs out of gas. And it’s running out of gas.
Also, are we forgetting how AI was trained? It’s a stealing machine.
Replying to @mannycalavera@feddit.uk
They called it Linux to celebrate the man. At what point do we have to change it to Ainux?
Replying to @wildncrazyguy138@fedia.io
To celebrate Ainu people, right?
Ainuch.
Replying to @mannycalavera@feddit.uk
His very first bug. Until this point, he had 100% error-free code. /s
Replying to @mannycalavera@feddit.uk
That’s what code review is for lol.
Where is the story here?
Replying to @auzy1@lemmy.world
AI bad. Bugs never occurred when human built code. We had to come up with a completely new term, unknown in programming before, called “race condition”.
Replying to @auzy1@lemmy.world
Where is the story here?
“AI bad. AI do bad thing. Let’s point and laugh at AI doing bad thing to delegitimize the technology in the public’s eyes.”
Meanwhile, at work, I interact with coding agents on a regular basis, and the results are pretty good. Then it goes through a local blind review by a more powerful agent, get pushed out to the company’s code review agent, which is designed to be as critical as possible, check the ticket details, make sure everything matches what the design plan says. Depending on the repo, it might even go through an extra security review.
Then, because we aren’t fucking stupid, it goes through the standard code review process by real developers. Sometimes they still find something, sometimes the agent code reviews found way more than a human can. Overall, I trust the current process over our previous one, where some guy spends barely two minutes looking at the code, rubberstamps it, and then QA discovers a few bugs that need fixing, because the damn code review wasn’t as through and critical as it should have been.
Replying to @p03locke@lemmy.dbzer0.com
Thank you. This is a tool just like everything else. Garbage in equals garbage out. Generative coding in the right hands is an extremely powerful tool.
It’s a difference between kids playing with fireworks. (Vibe coders that know nothing about software development) And rocket scientists at NASA building a new shuttle. (Real developers with controlled thoughtful AI workflows)
Replying to @DementedSociety@lemmy.world
the level of smugness in this reply, to compare AI slopists with NASA rocket scientists, its fucking astounding
Replying to @A_Random_Idiot@lemmy.world
I was making a point about people who are experts in their field, and people who know nothing about said field.
Username checks out.
Replying to @DementedSociety@lemmy.world
Username checks out.
the last refuge for people who cant mount a proper retort. As expected of someone like you. You grab the low hanging fruit, blind to the trap, then think you’re a world leading genius for going directly where you’re directed.
Replying to @A_Random_Idiot@lemmy.world
Wow! Says the person who started off throwing insults by calling me smug. I only agreed with your own assement of yourself via your username, if you took that as insult, it’s a you problem. But, at least you know that insulting people is disrespectful. Maybe try heeding your own advice before you start talking shit to strangers on the Internet. How “astoundingly” oblivious of you to make that comment.
Replying to @A_Random_Idiot@lemmy.world
You okay man? You read so much into my comment it makes me worry a little for ya. Hope you have a better day man.
Replying to @DementedSociety@lemmy.world
replies to the same comment twice youre reading too much into this
Slop, not even once
Replying to @Voixe2@lemmy.blahaj.zone
This isn’t even a coherent comment LOL
Replying to @DementedSociety@lemmy.world
Did you try getting Claude to explain it to you yet, cuckbrain?
Replying to @Voixe2@lemmy.blahaj.zone
I wouldnt burn tokens on your dumbass lol
Replying to @A_Random_Idiot@lemmy.world
The smugness in assuming that ‘anyone who uses x tool is stupid.’
Self awareness at critical low.
Replying to @DementedSociety@lemmy.world
Real developer who has done programming every day for over a decade now. AI is shit. It’s bad.
Replying to @dreadbeef@lemmy.dbzer0.com
As an electrical engineer who has been doing full stack dev, firmware all the way up to board design and layout for about 16 years now, it’s getting better every single day. My boss is finally coming around after being the biggest shit talker for the last year and half. Is the code perfect? No. Does anyone write perfect code… NO! It is a tool that needs to be driven correctly. If you don’t like it, don’t use it! Is it going away? No! And it doesn’t look like anything we say is going to change that. Live with it, it’s the only option.
Everyone is entitled to their own opinions. Everyone has their own experiences too. Be fucking nice tho, why is everyone so hostile. Go back to reddit if you want to be an asshole. Not you dread beef, just in general.
Replying to @dreadbeef@lemmy.dbzer0.com
My boss has been in it since like the early 80s, programming with basic and assembly. The turning point for him was a month or so ago when Claude found a bug in our mesh firmware that he had been trying to figure out for months. Edge case in hub mode when a message was in route to a device that momentarily dropped from the mesh. Flag gets cleared but no timer set to clear the buffer if the device doesn’t show back up in time. Super fun async RF problems, intermittent and ridiculously hard to find proxy buffer issue that was nearly impossible to reproduce. Old devs made code to lie and say the device was offline when it was still send it’s UID over RDM. So they knew the bug was there for YEARS. With a ton of logs and access to the specific files, Claude found the bug in like 45 mins. It was kind of crazy.
Replying to @dreadbeef@lemmy.dbzer0.com
Real developer who has been programming daily since the 80s. The quality of the models used to vary pretty wildly, but here in the past year or two, everything has gotten way better and most models are pretty capable. Claude, Gemini, GLM, Kimi, DeepSeek. The prices haven’t, but my advice is to ignore the bullshit and just pick the models that work for you. Claude isn’t 25x better than DeepSeek, so it doesn’t deserve to be 25x the cost.
I think Claude and OpenAI have started to realize that nobody’s buying their overpriced token costs. Although, frankly, none of these prices even make sense compared the cost of compute for an average cloud-based GPU cluster. I can’t see how any of these companies are making a profit, just riding the private equality wave until the money runs out. Maybe Amazon, Microsoft, Google, since they own their own hardware, but not OpenAI or Anthropic. China’s going to run them out of business in a few years, anyway.
And of course, if you have the option, use local models. VRAM size is still a bit of a problem, but quantization techniques have gone a long way. You can run a decent model on a personal PC with a bit of tweaking, for home programming tasks, or just a personal model that doesn’t immediately sell your data to Peter Thiel.
Replying to @p03locke@lemmy.dbzer0.com
Claude at $20 per month is a pretty good deal. But paying per token is a rip-off. Either way, we need open models so we won’t be dependent on a big tech trying to monopolise this.
I really wanted to spin up my own home LLM server, but the prices around that are still scary right now.
Replying to @dreadbeef@lemmy.dbzer0.com
You can dev as long as you like, doesnt make you good at using a new tool by default. Its a tool, it works for millions of people. Why do you think you’re special.
Replying to @NuanceDemon@lemmy.dbzer0.com
“Real developer who has done assembly every day for ten years now. Compilers are shit. It’s bad”
Replying to @chunes@lemmy.world
Exactly. I’ve done “real programming” for four decades; early in my career I was writing assembler and regularly having to review compilers’ output because it was shit.
I do not still do that. You adapt and move with the times, or you find a new career.
The ones complaining now are mainly the people who thought “cutting and pasting stuff from Stack Overflow without ever understanding it” was skilled labour.
Replying to @chunes@lemmy.world
?? AI is nothing like a compiler 😂 Its just autocomplete. Compilers are deterministic btw. All good tools are. I dont want to play whack a mole with autocomplete.
Replying to @NuanceDemon@lemmy.dbzer0.com
I have to do the PRs for the rest of my team in india who are just using claude all day. That’s what my job turned into. A month ago I was writing code for features, today i’m watching the offshore team produce shit ai. Every person on my team left or was let go, and no replacements. Management literally told us no one is writing code anymore, and if they do, it will be tweaking claude output.
Replying to @dreadbeef@lemmy.dbzer0.com
That seems like the worse of both worlds. About 95% of my code nowadays is agent-generated, but it’s based on my input, because I’m the fucking expert. Outsourcing the work just turns it into the same “garbage in, garbage out” process that outsourcing always does.
Replying to @p03locke@lemmy.dbzer0.com
Well, it’s reality. Billions of dollars of profit are going through this system that I’m the sole actual engineer on. A nationwide grocer, mind you.
Replying to @NuanceDemon@lemmy.dbzer0.com
I’m self taught. Didn’t go to uni. I can learn anything. That’s what makes me special. These ai people need it and literally cry when it’s gone. They’re pathetic.
Replying to @dreadbeef@lemmy.dbzer0.com
What model was the last one you used? Fable and opus 5.5 produce pretty good code, and also can find quite a lot of edge case issues too when reviewing.
Replying to @p03locke@lemmy.dbzer0.com
This is key. Don’t use AI to replace people, but as an extra layer to ensure quality. You still need the human code review, but there are things that the AI might catch faster than a human would. There are things that AI might catch that a human might miss. But keep the human in the loop.
Replying to @auzy1@lemmy.world
LLMs make slop code faster than humans can meaningfully review. If you make LLMs the only review layer, then slop gets through because they have similar biases. Stop making slop.
Replying to @ooterness@lemmy.world
Cool assumption. But pretty sure it’s not how things work at all but sounds great…
What actually happens is that you have a long list of multiple maintainers reviewing , and multiple branches for testing, and multiple layers of review too.
www.kernel.org/doc/html/next/…/maintainers.html . See that long list of maintainers for a start.
The actual policy is that everything ends up getting reviewed by a human. If I post a patch, it doesn’t go straight to master
If it’s not being properly tested and maintained, it gets dropped irrespective of what it is (remember devfs?)
Also, I’m not sure about the kernel specifically, but on projects I submitted code to, they often wanted complex patches broken down if possible.
Replying to @auzy1@lemmy.world
XZ Utils made it past all those checks with malicious code from a human.
If they’d been more careful with their tarball commits it probably would have made it into the final and commercial distros.
It made into Homebrew for instance.
Replying to @nilloc@discuss.tchncs.de
Correct me if I’m wrong, but that’s not the kernel…
Replying to @auzy1@lemmy.world
You are correct, also has nothing to do with AI, just malicious actors.
Replying to @Jakeroxs@sh.itjust.works
Yep. And the kernel did actually have a backdoor attempt at some point. And it was noticed too www.infoq.com/news/2013/10/Linux-Backdoor/
Replying to @auzy1@lemmy.world
Yes this means the review process is working. What is important to track is if LLM code causes a disproportionately large number of reviews or reviews that take longer because whoever generated the code doesn’t actually know what it is doing. Hopefully not the case here but it does happen a lot with LLM coding.
Replying to @darkangelazuarl@lemmy.world
Hopefully not the case here but it does happen a lot with LLM coding.
Linus secretly understands nothing about the Linux kernel
Sorry, guess I forgot my /s. You guys need to get outside or something
Replying to @ooterness@lemmy.world
You had to lean on that assumption that there’s a massive amount being produced to make this point though.
The actual operating point is that the slop is made faster than humans can WRITE it.
Reviewing 100 lines of code thats 90% there and took 3 minutes to produce is faster than writing it from scratch, there’s no getting around that.
For me the issue with it is that all (hyperbole) work is about to become reading instead of creating, dull.
Replying to @NuanceDemon@lemmy.dbzer0.com
You might save time in writing the code, but you lose time from the code doing things that aren’t in your mental model of the program
Replying to @auzy1@lemmy.world
the llm should have done it in rust. race impossible
this is the story :)
Replying to @jimmy90@lemmy.world
„Claude, rewrite the Linux kernel in Rust. Make no mistakes.“
Replying to @auzy1@lemmy.world
From my experience reviewing LLM generated code is many times higher.
Replying to @mannycalavera@feddit.uk
how did linus torvalds, the man that would rageface scream at people for doing shit that was perfectly good, that he just didnt like, become the latest to bend over and butter his ass up for the AI cock?
Replying to @A_Random_Idiot@lemmy.world
He is a fucking retard and a traitor that’s why
Replying to @ducktumn@lemmy.zip
i swear to god AI obsession is like some kind of weird contagious mental illness
Replying to @Lettuceeatlettuce@lemmy.ml
What… Lmao what even is that picture? Why…
You know what. It doesn’t matter. Lmao
Replying to @A_Random_Idiot@lemmy.world
Middle aged men dementia, induced by money and being surrounded with tech bros and having corporations whisper into your ears…
Replying to @A_Random_Idiot@lemmy.world
For closed source LLM services controlled by multi-billion dollar corporations even. Dunno if he has always been this cynical or lost sight of any principles he once had.
Replying to @nightlily@leminal.space
Torvalds have said a lot of controversial things. Some even against free software. But I think he is a pragmatic, not a cynical.
Replying to @A_Random_Idiot@lemmy.world
NoTheChildrenAreWrong.jpg
Replying to @A_Random_Idiot@lemmy.world
butter his ass up for the AI cock
I think I’ve seen that video
Replying to @mannycalavera@feddit.uk
This guy not too long ago chewed out people who vibe-coded an old kernel bug back in.
Look at him now.
Look how far he’s falling…
Replying to @Tattorack@lemmy.world
Called it a few weeks ago. Linus losing his marbles. And going full tech-bro fuckhead :(
Replying to @Tattorack@lemmy.world
Why? because of a race condition?
We’ve had race conditions in the kernel since the beginning. And, he didn’t vibe code an old kernel bug back in…
Race conditions aren’t newsworthy at all honestly, unless they cause a security issue
Replying to @Tattorack@lemmy.world
do you even know what a race condition is, what a code review is and what its job is? ask chatgpt
Replying to @Artemis_Mystique@lemmy.ml
do you even know what a race condition is
Oh, it doesn’t take a genius to figure that one out, pal. Now get out of here. This isn’t a nazi bar.
Replying to @SethTaylor@lemmy.world
Well I appreciated your humor
Replying to @SethTaylor@lemmy.world
dont forget to add a /s if you dont want the downvotes
Replying to @mannycalavera@feddit.uk
This kind of code has to be done with formal modelling, including when written by humans. alloytools.org looking good to me.
Replying to @mannycalavera@feddit.uk
Well hopefully he learned something from this.
Replying to @Unboxious@ani.social
This isn’t even newsworthy… Race Conditions aren’t rare.
Replying to @auzy1@lemmy.world
It is if you are a science denier. These people are no different to anti-vaxx magats.
Replying to @Unboxious@ani.social
He learned to do it more… This solved a problem that several Linux engineers and Linus himself have been struggling to solve for over 2 years, and the race condition was discovered in code review and fixed by a suggestion from Linus…
So without AI, we’d still have no solution to this problem that’s been unsolved for over 2 years, with AI we have a solution that went through code review which identified a small bug that was then fixed. He still landed a solution to the problem that wouldn’t have landed otherwise…
Narrator: He didn’t.
Replying to @mannycalavera@feddit.uk
Torvalds had spent 18 months running a broken version of his own fix for the page-cache reference-counting bottleneck, while other developers had encountered problems with their approaches. The new patches eliminate folio reference-count operations from a common buffered-read path, although Torvalds warned that the benchmark gains would be considerably smaller in real-world workloads.
You know how in star trek or other shows with scripts, how the writers used to just put like <technobabble here> or something
Replying to @SCmSTR@lemmy.blahaj.zone
Yeah so then I swapped the flux combobulator with the drago-fleefloo-spectromodulator and we’re up to warp speed again. Thank you, Captain!
Replying to @SCmSTR@lemmy.blahaj.zone
They need to add an analogy in there…
“The problem is with the folio reference-count operations from a common buffered-read path”
“Of course! It’s just like putting too much air in a balloon!”
Replying to @mannycalavera@feddit.uk
I think people who use and defend ai use as professionals are pick-mes and have shitty/broken moral compasses.
Replying to @SCmSTR@lemmy.blahaj.zone
I’d argue that pretending this is a big deal for some cheap hits is even worse though. The system is designed to identify when things like this happen, and it worked perfectly.
Race conditions in general aren’t newsworthy at all.
They’re generally fairly complex, an easy mistake to make (especially when optimising) and rarely obvious… And fairly common…
Replying to @SCmSTR@lemmy.blahaj.zone
Works in the other direction too, some people just let the world wash over them and work with whats at hand without deluding themselves into thinking they matter enough to change it.
Ironically, the man in question has actually changed it, but the point stands.
Replying to @mannycalavera@feddit.uk
Forking the Kernel to get it away from him is now a matter of national security
Replying to @KingThrillgore@lemmy.ml
national security
For which nation? The Kingdom of Linux?
Replying to @nshibj@lemmy.world
So much important government computing happens on Linux. Almost every server and supercomputer is on some form of Linux.
Replying to @WolfLink@sh.itjust.works
And what has AI introduced into the Linux kernel that poses a risk to any nation depending on it?
Replying to @mannycalavera@feddit.uk
I have always had mixed feelings about AI.
On one hand it is a good tool for offloading monotonous time consuming tasks that you already know how to do.
On the other, its a bad tool for outsourcing for tasks you dont know how to do.
It can be good for simple things, like i got claude code to build me a project planner and to-do list because i cant code but wanted something bespoke for me to help with my adhd. Its great for me but other people might hate it.
But if it is used in place of people figuring out complex problems in their field of expertise then it will inevitably lead to people lacking the skills to make anything and when the bubble bursts there wont be anyone left who knows how to make anything for themselves.
I am opposed to it being used so much at work, i hate getting AI responses from real people. But i am finding it increasingly difficult to find solutions to problems on forums and reddit because everything is just AI answers now :(
I also think linus using it to help him with problems he is struggling to solve is up to him. It might not be the method i would choose, but i didnt write an entire operating system.
Replying to @mannycalavera@feddit.uk
Sooooo… are we gonna go oyr own kernel or something now? Seriously i cant believe this world. 35 years of work by tens of thousands of people and this is what we get?
Replying to @AI_toothbrush@lemmy.zip
What process is there which successfully prevents AI code submissions? I wonder if we’re even having the right discussion here. It’s a very hard thing to police when people are doing work for free.
Replying to @mannycalavera@feddit.uk
And here we go!
Replying to @mannycalavera@feddit.uk
I hope he posts on the LKML and gives himself a right public scolding worthy of his failings. Sprinkle some "stupid"s and "idiotic"s in there for good measure.
Replying to @mannycalavera@feddit.uk
“but”? Isn’t that exactly what reviewers are for?
The actual news of the article: LLM helped do a significant piece of work that human developers had failed to do for two years.
Or rather, LLMs helped create bad code, and so didn’t do a significant peice of work - or did it so poorly it was dangerous to rely on for general use in an Operating system:
Race conditions in programming occur when multiple processes or threads attempt to modify and access shared data simultaneously, leading to unpredictable and unintended outcomes. They can result in data corruption, program failures, and other unexpected behaviors if not properly managed with synchronization techniques.
The work isn’t done if it’s introducing risky/bad code (especially at the level of an operating system). That’s like saying “LLMs cure cancer by cutting patients into quarters, human reviewers stop it”
Then someone claiming “the real story here is that LLMs cured cancer”.
Was cancer actually cured? The article doesn’t say the problem was fixed by the LLM. It says humans did the work of finalizing parts of it which had to be restricted to an experimental branch, and only operates on 64-bit machines.
Replying to @DarkCloud@lemmy.world
The same happens when humans write code. Reviewers hopefully find some of their mistakes, then they fix them
Replying to @boonhet@sopuli.xyz
Tell me then, was the problem solved, the work done by the LLM?
Was it considered good enough for a mainbranch?
Or was it faulty/risky and require highly trained experts to catch? Then flagged, and only put into an experimental branch?
How many ex-Oracle memory experts do you think are available for this work, in which even Linus didn’t catch the race condition?
“Hey guys, nothing to see here if we have enough high level engineers fixing everything”.
Replying to @DarkCloud@lemmy.world
Tell me then, was the problem solved, the work done by the LLM?
partially
Was it considered good enough for a mainbranch?
Probably, if it took multiple experts to catch the bug.
Or was it faulty/risky and require highly trained experts to catch? Then flagged, and only put into an experimental branch?
As happens with human code all the time
How many ex-Oracle memory experts do you think are available for this work, in which even Linus didn’t catch the race condition?
No idea, at least one.
A competent person like Linus can manage and direct competent code generation, whether that code is generated by an AI or an intern.
Replying to @hirihit640@sh.itjust.works
Right the guy who failed to catchy the problem in the generated code, will be fine.
Replying to @DarkCloud@lemmy.world
At the end the only thing that matters is if this approach saved money/time compated to the opposite. If Linus keeps employing it, it works for him. He definitely isn’t an AI apologist, I think, so it’s not like he profits from speaking positively or negatively about AI
Replying to @DarkCloud@lemmy.world
Wouldn’t it be more like the LLM presented a plan which involved cutting people into quarters then a human rubber stamped it and the people were cut into quarters?
Replying to @mannycalavera@feddit.uk
Who’s paying for the Claude code credits I wonder
Replying to @Prior_Industry@lemmy.world
check out the Linux Foundation members page, they (nvidia et al) literally pay Torvalds salary
Replying to @manmachine@lemmy.world
Typical,🤣. They have found another circular route to fund AI 😂
Replying to @mannycalavera@feddit.uk
This is about the extinction of hand coded programming as we know it. You know how very few people know assembly, and every so often a COBOL expert has to be found to update a bank’s database so they can overhaul their systems?
What if all of programming becomes like that only worse. With new generations of programmers not actually knowing how to program. A massive decline in numbers and competence… Programmers that only “program” by talking to LLMs.
Ever seen an episode of Star Trek where a computer is in charge of everything, and society crumbles when it breaks down?
I think we might hit a plateau in a generation or two. The point at which we can generate more and more LLMs but don’t know how to make them any better. Let alone reprogram unrelated systems like medical scanners, or air traffic safety systems, or mapping systems.
“It’s okay we’ll have the LLMs improve the LLMs”… For the rest of eternity.