Linux 7.2 Surpasses More Than 43 Million Lines In The Kernel Tree
Today marks the last day of the Linux 7.2 merge window with Linux 7.2-rc1 due out later today. With the many new features and improvements merged over the past week since the Linux 7.1 stable debut, the Linux kernel source tree now exceeds 43 million lines.
Via the cloc utility for counting the lines of code, I checked the current Linux Git state as of this morning considering with Linux 7.1 it was coming in just shy of 43 million... Sure enough, Linux 7.2 Git has blown well past that threshold and on its way toward 44 million.
As of right now in the Linux Git tree, there are 108,158 files picked up by cloc that consist of 5,211,184 blank lines, 5,033,878 lines of detected code comments, and then 33,653,681 lines of detected actual code. As a grand total that's at 43,898,743 lines -- hours ahead of the Linux 7.2-rc1 release.
For some perspective, Linux 7.1 was at 42,924,382 lines between 5,107,123 blank lines, 4,841,507 lines of code comments, and 32,975,752 lines of code picked up by cloc.
The Linux kernel source tree continues growing at a brisk pace even with the recent i486 removal and many old hardware drivers being phased out from the kernel tree, including several removals I've covered over the past two weeks of the Linux 7.2 merge window.
The biggest kernel driver in Linux remains the AMDGPU/AMDKFD code. When counting linux/drivers/gpu/drm/amd for all that AMD modern kernel graphics driver code, as of today in Git it's coming in at around a combined 6,356,056 lines. That's up from 6,167,219 lines with Linux 7.1.
Just some food for thought for those interested in Linux code statistics. Stay tuned for the Linux 7.2-rc1 release later today.
Via the cloc utility for counting the lines of code, I checked the current Linux Git state as of this morning considering with Linux 7.1 it was coming in just shy of 43 million... Sure enough, Linux 7.2 Git has blown well past that threshold and on its way toward 44 million.
As of right now in the Linux Git tree, there are 108,158 files picked up by cloc that consist of 5,211,184 blank lines, 5,033,878 lines of detected code comments, and then 33,653,681 lines of detected actual code. As a grand total that's at 43,898,743 lines -- hours ahead of the Linux 7.2-rc1 release.
For some perspective, Linux 7.1 was at 42,924,382 lines between 5,107,123 blank lines, 4,841,507 lines of code comments, and 32,975,752 lines of code picked up by cloc.
The Linux kernel source tree continues growing at a brisk pace even with the recent i486 removal and many old hardware drivers being phased out from the kernel tree, including several removals I've covered over the past two weeks of the Linux 7.2 merge window.
The biggest kernel driver in Linux remains the AMDGPU/AMDKFD code. When counting linux/drivers/gpu/drm/amd for all that AMD modern kernel graphics driver code, as of today in Git it's coming in at around a combined 6,356,056 lines. That's up from 6,167,219 lines with Linux 7.1.
Just some food for thought for those interested in Linux code statistics. Stay tuned for the Linux 7.2-rc1 release later today.
