<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Linux 7.1 代码树逼近 4000 万行，AMD GPU 驱动一家独大突破 600 万行]]></title><description><![CDATA[<p dir="auto">Phoronix 在 Linux 7.1-rc1 发布当日统计了内核代码规模。尽管 7.1 合并窗口期间大量清理了旧驱动——包括 ISDN、业余无线电（Ham Radio）及其他老旧网络驱动共减少约 13.8 万行代码，还移除了 PCMCIA 驱动、部分 PCI 驱动并开始退出俄罗斯 Baikal CPU 支持——但这些删减远不足以抵消新增代码，Linux 7.1 Git 树总行数已快速逼近 4000 万行。其中 AMD GPU 驱动（AMDGPU + AMDKFD 计算代码及相关基础设施）在 7.1 周期中突破 600 万行，成为主线内核中规模最大的单一开源驱动，这一数字主要来自 Linux 7.0 周期中 AMD 同步提交的多个 GPU 架构寄存器头文件与自动生成的硬件定义文件。</p>
<p dir="auto">相关背景是：Linux 内核代码总量在 2015 年约为 1900 万行，在近 10 年内翻倍，并于今年 1 月前后正式越过 4000 万行大关；AMD GPU 驱动一家的体量约占整个内核的 15%，Phoronix 的逐版本追踪数据显示其规模在每个内核周期都以百万量级持续扩张。Intel 486 CPU 支持的退出在 7.1 中仅完成了配置文件删除，代码清理将延续至后续版本，对总行数影响有限。</p>
<p dir="auto"><a href="https://www.phoronix.com/news/Linux-Kernel-Nearly-40M" target="_blank" rel="noopener noreferrer nofollow ugc">Phoronix</a></p>
<p dir="auto"></p><div class="card col-md-9 col-lg-6 position-relative link-preview p-0">



<a href="https://www.phoronix.com/news/Linux-Kernel-Nearly-40M" title="The Linux Kernel Tree About To Hit 40 Million Lines, AMD Driver Above 6 Million Lines">
<img src="https://www.phoronix.net/image.php?id=2026&amp;image=linux_size_71" class="card-img-top not-responsive" style="max-height:15rem" alt="Link Preview Image" />
</a>



<div class="card-body">
<h5 class="card-title">
<a class="text-decoration-none" href="https://www.phoronix.com/news/Linux-Kernel-Nearly-40M">
The Linux Kernel Tree About To Hit 40 Million Lines, AMD Driver Above 6 Million Lines
</a>
</h5>
<p class="card-text line-clamp-3">Ahead of the Linux 7.1-rc1 kernel release due out later today for closing the Linux 7.1 merge window, I was curious if all the code removals would lead to a negative change in line count over Linux 7.0</p>
</div>
<a href="https://www.phoronix.com/news/Linux-Kernel-Nearly-40M" class="card-footer text-body-secondary small d-flex gap-2 align-items-center lh-2">



<img src="https://www.phoronix.com/favicon-32x32.png" alt="favicon" class="not-responsive overflow-hiddden" style="max-width:21px;max-height:21px" />





























<p class="d-inline-block text-truncate mb-0"> <span class="text-secondary">(www.phoronix.com)</span></p>
</a>
</div><p></p>
]]></description><link>https://welinux.com//topic/77/linux-7.1-代码树逼近-4000-万行-amd-gpu-驱动一家独大突破-600-万行</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 22:33:25 GMT</lastBuildDate><atom:link href="https://welinux.com//topic/77.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Apr 2026 17:20:48 GMT</pubDate><ttl>60</ttl></channel></rss>