Linus Torvalds uses AI to debug an Intel GPU driver bug

10 points by Yogthos


tomsmeding

The debugging using AI is great, as this sounds indeed like a horrible issue to debug and it's great that the fix exists now and is in the kernel.

However.

  1. "and I let the AI write the commit message above." While this is a pretty well-written commit message, and so I guess I cannot fault Linus for the result here, it still sits uncomfortable with me.
  2. The comments introduced in the commit do the classical LLM thing (recently discussed on this forum too!) where the comment describes the change from the previous state rather than the why of the current state. Now, I don't read kernel code daily so I don't know what the conventions are, but if it's anything like normal coding style, this is unhelpful. Furthermore, the unhelpfulness (and verbosity!) of the comment is one thing, but what I dislike most is that clearly Linus thought this was good enough! And it seems the commit is on master, so it's not a to-be-reviewed commit either.

"My kernel has LLM output in it" is a ship-has-sailed situation, but it seems my kernel now has slop in it, and slop from Linus' hand. That makes me unhappy.