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
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?
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.