<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title>Ju Lin's AI Weblog: Linux</title><subtitle>An independent research notebook on AI engineering, agents, models and the systems around them.</subtitle><id>https://julin.ai/atom/tags/linux/index.xml</id><link rel="self" type="application/atom+xml" href="https://julin.ai/atom/tags/linux/index.xml"/><link rel="alternate" type="text/html" href="https://julin.ai/tags/linux/"/><author><name>Ju Lin</name></author><updated>2026-08-23T00:00:00+12:00</updated><entry><title>Linus Torvalds on Debugging the Kernel with AI</title><id>https://julin.ai/2026/08/23/linus-ai-debug/</id><link rel="alternate" type="text/html" href="https://julin.ai/2026/08/23/linus-ai-debug/"/><published>2026-08-23T00:00:00+12:00</published><updated>2026-08-23T00:00:00+12:00</updated><category term="field-notes"/><category term="linux"/><content type="html">&lt;blockquote&gt;
&lt;p&gt;And this was a debug session from hell, enormously helped by an AI doing much of the grunt-work.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d like to call it my tireless helper, but the AI several times stated flat out that this was impossible and unsolvable and that we should just write a report about it.&lt;/p&gt;
&lt;p&gt;I suspect those things have been trained by people who may not be quite as stubborn as I am.&lt;/p&gt;
&lt;p&gt;But while the AI was ready to give up several times, it did keep adding debug code and analyzing it faithfully when I pushed. So credit where credit is due and I let the AI write the commit message above.&lt;/p&gt;
&lt;p&gt;This is basically a one-liner fixing a bogus &lt;code&gt;round_up()&lt;/code&gt; to a &lt;code&gt;round_down()&lt;/code&gt;, but there were 24 patches adding more and more debug information to this, and 18 kernel boot to finally narrow it down to this. — Linus&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Linus Torvalds, in the &lt;a href="https://github.com/torvalds/linux/commit/818bebeb63dd6bf5f4e07e145f6cdbace520a34c"&gt;commit message&lt;/a&gt; for a kernel fix.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;I troubleshoot every now and then myself, and it&amp;rsquo;s way harder than programming, tbh. AI can&amp;rsquo;t always find the root cause. But it&amp;rsquo;s still a tireless companion to have on-call — it surfaces details I&amp;rsquo;d have missed on my own, and some of them are the ones that end up pointing the way.&lt;/p&gt;</content></entry></feed>