hn.today

Linus Torvalds: "Tell Your AI Companion to Get Its Act Together"

phoronix.com15 points2 comments
Screenshot of Linus Torvalds: "Tell Your AI Companion to Get Its Act Together"

A large EXT4 update submitted late in the Linux 7.4 release-candidate cycle added roughly 41,000 lines, mostly AI-generated bug fixes and expanded KUnit tests intended to help validate future patches. Linus Torvalds accepted the changes for Linux 7.4-rc5, but objected strongly to their timing and scale. He argued that release candidates are for stabilizing a kernel, not introducing extensive new development under the assumption that fixes cannot cause regressions. In his view, subtle bugs that went unnoticed for a long time are especially difficult to correct safely, and patches addressing them may themselves contain hard-to-detect problems.

Torvalds said new development and test coverage should have been kept on a separate branch and submitted during the next merge window, even if that meant resolving conflicts while running the tests. He warned that he may reject similar late-cycle submissions in the future and emphasized that AI-generated changes require the same caution as any other code. Alongside the contentious changes, the update includes performance work: distributing file inodes across block groups in a flex group to reduce contention and speed up parallel file creation, with benchmarks showing substantial gains. Other patches improve unlink performance on file systems without the orphan-file feature and accelerate fast-commit replay for sparse files.

Read on phoronix.com2 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.