Linux Kernel Surpasses 43 Million Lines
The Linux kernel has expanded to a scale that is difficult to imagine for an open-source project. Following a week of intense merges for Linux 7.2, the source tree surpassed 43 million lines. Moreover, it is rapidly approaching the 44 million mark. Michael Larabel, the founder of Phoronix, recently noted this remarkable growth.
Analyzing the Massive Codebase
Experts recorded this expansion on the final day of the Linux 7.2 merge window. This occurred just prior to the highly anticipated release. Analysts utilized the cloc utility to perform this massive calculation. Specifically, this tool evaluates project files and counts blank lines, comments, and active code lines separately.
Breaking Down the File Statistics
Within the current Linux Git tree, the utility discovered 108,158 individual files. Inside these files, it identified 5,211,184 blank lines. Additionally, it counted 5,033,878 lines of helpful comments. Most importantly, it found 33,653,681 lines of actual working code. Consequently, the entire tree reached 43,898,743 lines merely hours before the launch.
Comparing Recent Kernel Versions
For comparison, the previous Linux 7.1 release contained 42,924,382 lines. At that time, cloc found 5,107,123 blank lines and 4,841,507 comment lines. Furthermore, it recorded 32,975,752 lines of pure code. Compared to its predecessor, the software tree gained nearly one million new lines.
Growth Despite Code Removal
Surprisingly, developers achieved this growth while simultaneously removing support for outdated components like the i486 architecture. In addition, they actively stripped obsolete hardware drivers from the core system. Currently, the AMDGPU and AMDKFD code blocks remain the largest driver segments within the kernel. The specific directory housing the modern AMD graphics driver now occupies roughly 6,356,056 lines. Previously, in Linux 7.1, this exact same section held 6,167,219 lines.
The Future of Kernel Development
Ultimately, these statistics prove that Linux development continues at a blistering pace. Clearly, fresh features, novel drivers, and vital improvements completely overshadow the deletion of legacy code. Therefore, the very first release candidate will debut immediately after the merge window closes.
Support Our Threat Intelligence
If you find our technology report and cybersecurity news helpful, consider supporting our work.