hn.today

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

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

A large EXT4 update was submitted late in the Linux 7.4 release-candidate cycle, adding more than 41,000 lines. Most of the changes consist of bug fixes generated with AI and expanded KUnit tests intended to help check future AI-written patches. The pull request also includes performance improvements. Linus Torvalds accepted and merged it for Linux 7.4-rc5, but strongly objected to its size and timing: he argued that release candidates should focus on stabilizing the kernel, not absorbing extensive new code and test suites. He rejected the idea that changes are safe for this stage simply because they are labeled fixes, warning that patches addressing subtle, long-standing bugs can introduce subtle new defects.

Torvalds said future development and test cases of this scale should remain on a separate branch and be submitted during the next merge window, when conflicts and regressions can be handled without disrupting a release in progress. He warned that he may refuse similar late submissions. Among the performance changes, one distributes file inodes across block groups within a flex group, reducing contention and substantially improving parallel file creation in benchmarks. Other patches improve file-unlink performance on filesystems lacking the orphan-file feature and speed up fast-commit replay for sparse files. Thus, the update combines potentially useful performance gains with a broader dispute over AI-assisted kernel development, code review, and disciplined release timing.

Read on phoronix.com0 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.