Emperor Penguin Linus Torvalds banishes a bug – with a bot
The lad himself finds and fixes a tricky one… or does he?
The Linux kernel 7.3 is currently under development, and a bug fix has been provided by Linus Torvalds himself, albeit in a somewhat unconventional manner. Despite his position as the overall kernel project leader for almost two decades, Torvalds noted that he has not programmed since November 2022. The bug, which causes machines to freeze during the boot process when transitioning to graphics mode, specifically affects the Intel Xe graphics driver.
The issue lies in the handling of memory allocated for Intel's Compute Command Streamer (CCS), which the kernel documentation describes as an engine with access to media and GPGPU pipelines but not the 3D pipeline. The driver attempts to determine the memory location, reserve memory below it, round it up to the nearest 128 kB, and designate it as available video memory.
However, the rounding up process sometimes erroneously marks memory currently in use as available, leading to the system freeze. Interestingly, the fix consists of a single line of code, demonstrating the effectiveness of coding bots in assisting developers. The bot generated 42 chunks of test code to help Pin Linus identify the bug.
This incident highlights the growing relevance of coding bots in the software development process, particularly as memory costs escalate due to the artificial intelligence (AI) hyperscaler demand.
Written by urgent.news from The Register's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.
- 'Just a hobby, won't be big': Linus Torvalds introduced Linux 35 years ago - and almost called it Freax zdnet.com
- Linux was announced by Linus Torvalds 35 years ago today — humble OS started with 10,000 lines of code but has now grown to 40 million, dominates global infrastructure tomshardware.com
- Emperor Penguin Linus Torvalds banishes a bug – with a bot theregister.com
- 35 years ago today, Linus Torvalds made a Usenet post that introduced Linux to the world xda-developers.com