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/Replying to @mannycalavera@feddit.uk
That’s what code review is for lol.
Where is the story here?
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/