|
|
Subscribe / Log in / New account

Development statistics for the 4.2 kernel

By Jonathan Corbet
August 18, 2015
As of this writing, the 4.2-rc7 prepatch is out and the final 4.2 kernel looks to be (probably) on-track to be released on August 23. Tradition says that it's time for a look at the development statistics for this cycle. 4.2, in a couple of ways, looks a bit different from recent cycles, with some older patterns reasserting themselves.

At the end of the merge window, there was some speculation as to whether 4.2 would be the busiest development cycle yet. The current record holder is 3.15, which had 13,722 non-merge changesets at the time of its final release. 4.2, which had 13,555 at the -rc7 release, looks to fall a little short of that figure. So we will not have broken the record for the most changesets in any development cycle, but it was awfully close.

One record that did fall, though, is the number of developers contributing code to the kernel. The previous record holder (4.1, at 1,539) didn't keep that position for long; 1,569 developers have contributed to 4.2. Of those developers, 279 have made their first contribution to the Linux kernel. An eye-opening 1.09 million lines of code were added this time around with 285,000 removed, for a total growth of 800,000 lines of code.

The most active developers this time around were:

Most active 4.2 developers
By changesets
Ingo Molnar3042.2%
Mauro Carvalho Chehab2031.5%
Herbert Xu1711.3%
Krzysztof Kozlowski1611.2%
Geert Uytterhoeven1491.1%
Al Viro1401.0%
Lars-Peter Clausen1371.0%
H Hartley Sweeten1361.0%
Thomas Gleixner1270.9%
Hans Verkuil1240.9%
Tejun Heo1100.8%
Alex Deucher950.7%
Paul Gortmaker910.7%
Vineet Gupta880.7%
Jiang Liu840.6%
Christoph Hellwig790.6%
Hans de Goede780.6%
Arnaldo Carvalho de Melo770.6%
Mateusz Kulikowski740.5%
Takashi Iwai730.5%
By changed lines
Alex Deucher42550135.7%
Johnny Kim337262.8%
Raghu Vatsavayi144841.2%
Greg Kroah-Hartman125001.0%
Stephen Boyd110620.9%
Dan Williams107360.9%
Hans Verkuil106410.9%
Narsimhulu Musini102630.9%
Ingo Molnar92540.8%
Jakub Kicinski85310.7%
Herbert Xu85150.7%
Yoshinori Sato76120.6%
Saeed Mahameed74930.6%
Sunil Goutham74710.6%
Christoph Hellwig73840.6%
Vineet Gupta71710.6%
Mateusz Kulikowski68520.6%
Maxime Ripard67670.6%
Sudeep Dutt66470.6%
Mauro Carvalho Chehab64220.5%

Some years ago, Ingo Molnar routinely topped the per-changesets list, but he has been busy with other pursuits recently. That changed this time around, though, with a massive rewrite of the low-level x86 floating-point-unit management code. Mauro Carvalho Chehab continues to be an active maintainer of the media subsystem, and Herbert Xu's work almost entirely reflects his role as the maintainer of the kernel's crypto subsystem. Krzysztof Kozlowski contributed cleanups throughout the driver subsystem, and Geert Uytterhoeven, despite being the m68k architecture maintainer, did most of his work within the ARM tree and related driver subsystems.

On the "lines added" side, Alex Deucher accounted for nearly half of the entire growth of the kernel this time around with the addition of the new amdgpu graphics driver. Johnny Kim added the wilc1000 network driver to the staging tree, Raghu Vatsavayi added support for Cavium Liquidio Ethernet adapters, Greg Kroah-Hartman removed the obsolete i2o subsystem, and Stephen Boyd removed a bunch of old driver code while adding driver support for QCOM SPMI regulators and more.

The top contributor statistics in recent years have often been dominated by developers generating lots of cleanup patches or reworking staging drivers. One might expect to see a lot of that activity in an especially busy development cycle, but that is not the case for 4.2. Instead, the top contributors include many familiar names and core contributors. One might be tempted to think that the cleanup work is finally approaching completion, but one would be highly likely to be disappointed in future development cycles.

The most active companies supporting development in the 4.2 cycle (of 236 total) were:

Most active 4.2 employers
By changesets
Intel166512.3%
Red Hat163912.1%
(Unknown)8846.5%
(None)8846.5%
Samsung6815.0%
SUSE4963.7%
Linaro4493.3%
(Consultant)4123.0%
IBM3912.9%
AMD2862.1%
Google2461.8%
Renesas Electronics2031.5%
Free Electrons2031.5%
Texas Instruments1911.4%
Facebook1761.3%
Oracle1631.2%
Freescale1561.2%
ARM1451.1%
Cisco1421.0%
Broadcom1381.0%
By lines changed
AMD43809436.8%
Intel963318.1%
Red Hat629595.3%
(None)461403.9%
(Unknown)418863.5%
Atmel349422.9%
Samsung293262.5%
Linaro227141.9%
Cisco211701.8%
SUSE188911.6%
Code Aurora Forum184351.5%
Mellanox180441.5%
(Consultant)152341.3%
IBM150951.3%
Cavium Networks145801.2%
Free Electrons136401.1%
Unisys134281.1%
Linux Foundation126171.1%
MediaTek118561.0%
Google118111.0%

Once again, there are few surprises here. At 6.5%, the percentage of changes coming from volunteers is at its lowest point ever. AMD, unsurprisingly, dominated the lines-changed column with the addition of the amdgpu driver. Beyond that, it is mostly the usual companies supporting kernel development in the usual way.

The kernel community depends heavily on its testers and bug reporters; at least some of the time, their contribution is recorded as Tested-by and Reported-by tags in the patches themselves. In the 4.2 development cycle, 946 Tested-by credits were placed in 729 patches, and 611 Reported-by credits were placed in 682 patches. The most active contributors in this area were:

Most active 4.2 testers and reporters
Tested-by credits
Joerg Roedel404.2%
Keita Kobayashi353.7%
Krishneil Singh313.3%
Arnaldo Carvalho de Melo303.2%
Ira Weiny242.5%
Doug Ledford232.4%
Alex Ng222.3%
Aaron Brown212.2%
Javier Martinez Canillas192.0%
ZhenHua Li192.0%
Reported-by credits
Wu Fengguang7611.1%
Dan Carpenter416.0%
Russell King233.4%
Ingo Molnar121.8%
Stephen Rothwell101.5%
Linus Torvalds81.2%
Hartmut Knaack71.0%
Huang Ying60.9%
Christoph Hellwig50.7%
Sudeep Holla50.7%

The power of Wu Fengguang's zero-day build robot can be seen here; it resulted in 11% of all of the credited bug reports in this development cycle. The work of all of the kernel's testers and bug reporters leads to a more stable kernel release for everybody. The biggest concern with these numbers, perhaps, is that we might still not be doing a thorough job of documenting the contribution of all of our testers and reporters.

All told, the kernel development community continues to run like a well-tuned machine, producing stable kernel releases on a predictable (and fast) schedule. Back in 2010, your editor worried that the community might be headed toward another scalability crisis, but such worries have proved to be unfounded, for now at least. There must certainly be limits to the volume of change that can be managed by the current development model, but we do not appear to have reached them yet.

Index entries for this article
KernelReleases/4.2


to post comments

Development statistics for the 4.2 kernel

Posted Aug 18, 2015 14:19 UTC (Tue) by louie (guest, #3285) [Link]

Is there more up-to-date information on the zero-day testing than LWN's (good, but stale) 2012 Kernel Summit article? Sounds interesting!

Development statistics for the 4.2 kernel

Posted Aug 18, 2015 14:41 UTC (Tue) by deater (subscriber, #11746) [Link] (1 responses)

What tags are you checking for reported by? Are you counting the "Reported-and-Tested" tag too?

Just asking, because I think my total should be at least 5 but I don't see myself on the list. Though my internal count could be a bit off, as I am going by my "perf_fuzzer" bugs found list and if someone besides me used the fuzzer and reported the bug it obviously wouldn't get credited to me.

Development statistics for the 4.2 kernel

Posted Aug 18, 2015 15:00 UTC (Tue) by deater (subscriber, #11746) [Link]

OK, did some digging and I had 4 Reported-by and Reported-and-Tested-by so your script is probably working as expected.

c7999c6f3fed9e3 is a bug I first reported, but peterz found and fixed it independently while running the perf_fuzzer himself, so no Reported-by tag.

ee9397a6fb9b also probably fixes a bug I originally reported but was found and fixed completely independently of my report.

Development statistics for the 4.2 kernel

Posted Sep 1, 2015 11:46 UTC (Tue) by ssam (guest, #46587) [Link] (2 responses)

Given that even the 20th employer on the list has over 100 commits, maybe you could publish the top 30 or more.

Development statistics for the 4.2 kernel

Posted Sep 1, 2015 16:20 UTC (Tue) by bronson (subscriber, #4806) [Link] (1 responses)

That's a really neat observation. Are there other projects that see such massive collaboration? (Both in number of companies involved and the amount of effort contributed by each company?)

Development statistics for the 4.2 kernel

Posted Sep 2, 2015 12:23 UTC (Wed) by mathstuf (subscriber, #69389) [Link]

Congress? :D :(


Copyright © 2015, Eklektix, Inc.
This article may be redistributed under the terms of the Creative Commons CC BY-SA 4.0 license
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds