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