World news and discussion on TalkFuse.
Emperor Penguin Linus Torvalds banishes a bug – with a bot
Linux creator Linus Torvalds has personally fixed a tricky bug in the upcoming Linux kernel 7.3, notable both because he rarely writes code himself these days and because he leaned heavily on an AI tool to hunt it down. The fault, in the kernel driver for Intel Xe graphics, caused machines to freeze during boot just as the system switched to graphics mode to display the login screen, making it especially hard to trace.
The underlying cause was a memory-allocation error in how the driver handled Intel's Compute Command Streamer storage: a calculation was rounding memory addresses up rather than down, occasionally marking already-used memory as free. The eventual fix was a single line of code, but reaching it took 24 patches and 18 kernel boots. Torvalds credited an AI assistant with doing much of the debugging grunt-work, including writing 42 chunks of test code, though he noted it repeatedly declared the problem unsolvable before he pushed it to keep going; he also let the AI draft the commit message.
In short
- Torvalds himself fixed a rare kernel bug in Linux 7.3.
- An AI tool helped debug it, despite repeatedly wanting to give up.
- Bug caused boot freezes via a faulty Intel Xe graphics memory calculation.
Explained simply
Linux is the core software that manages a computer’s hardware and lets other programmes run. It is developed openly by contributors around the world, with Linus Torvalds overseeing changes to the kernel, the part that handles tasks such as memory and communication with devices.
Intel Xe graphics is the technology that produces images on computers using Intel graphics hardware. A fault in its Linux driver can disrupt the handover from starting up to showing the screen, while a memory-allocation mistake can cause the system to treat occupied space as available.
AI assistants can generate code and help investigate software faults, but developers still need to guide and check their work. How they are used in projects such as Linux matters to people who build, maintain or rely on software running across many kinds of computers.