Urgent.News

What's breaking now, across thousands of outlets.

Tech

Emperor Penguin Linus Torvalds banishes a bug – with a bot

The lad himself finds and fixes a tricky one… or does he?

Emperor Penguin Linus Torvalds banishes a bug – with a bot

In the ongoing development of Linux kernel 7.3, an intriguing bug fix has emerged from an unexpected source: Linus Torvalds himself, the renowned emperor penguin of the Linux community. This bug, which affected machines running the Intel Xe graphics driver, caused freezing during the boot process when transitioning to graphics mode for the login screen.

The fix, titled "Don’t hand out the flat CCS storage as usable VRAM," is a one-line modification that addresses an issue in how the driver allocated memory for Intel’s Compute Command Streamer (CCS). While Torvalds typically doesn't engage in coding, this particular bug-fix scenario required his intervention. Utilizing an automated bot, Torvalds generated 42 chunks of test code to identify the problem, demonstrating the valuable role that coding bots play in modern software development.

The fix also highlights the challenges posed by modern graphics controllers having separate memory not shared with the CPU, a trend that may eventually be addressed by more integrated silicon designs, as seen in Apple's approach with their unified memory architecture.

Written by urgent.news from The Register Science's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Also reported by 1 other outlet

Read the original at theregister.com →

More in Tech

More from Monday 24 August →