[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
|
|
Subscribe / Log in / New account

Statistics for the 4.15 kernel

By Jonathan Corbet
January 3, 2018
The 4.15 kernel is likely to require a relatively long development cycle as a result of the post-rc5 merge of the kernel page-table isolation patches. That said, it should be in something close to its final form, modulo some inevitable bug fixes. The development statistics for this kernel release look fairly normal, but they do reveal an unexpectedly busy cycle overall.

This development cycle was supposed to be relatively calm after the anticipated rush to get work into the 4.14 long-term-support release. But, while 4.14 ended up with 13,452 non-merge changesets at release, 4.15-rc6 already has 14,226, making it one of the busiest releases in the kernel project's history. Only 4.9 (16,214 changesets) and 4.12 (14,570) brought in more work, and 4.15 may exceed 4.12 by the time it is finished. So far, 1,707 developers have contributed to this kernel; they added 725,000 lines of code while removing 407,000, for a net growth of 318,000 lines of code.

The most active developers this time around were:

Most active 4.15 developers
By changesets
Kees Cook3492.5%
Colin Ian King2371.7%
Harry Wentland1701.2%
Ben Skeggs1561.1%
Gustavo A. R. Silva1381.0%
Christoph Hellwig1371.0%
Geert Uytterhoeven1361.0%
Arnd Bergmann1340.9%
Chris Wilson1290.9%
Dmytro Laktyushkin1250.9%
Allen Pais1120.8%
Masahiro Yamada1080.8%
Thomas Gleixner1050.7%
Dave Airlie1030.7%
Eric Dumazet990.7%
Ville Syrjälä970.7%
Arvind Yadav950.7%
Jakub Kicinski940.7%
Markus Elfring920.6%
Mauro Carvalho Chehab890.6%
By changed lines
Harry Wentland15226216.8%
Dave Airlie476515.2%
Takashi Iwai419434.6%
Dmytro Laktyushkin283063.1%
Rex Zhu240082.6%
Andy Shevchenko182042.0%
Paul E. McKenney146291.6%
Ben Skeggs126841.4%
Palmer Dabbelt104331.1%
David Howells102101.1%
Darrick J. Wong87921.0%
Yue Hin Lau84830.9%
Greg Kroah-Hartman82980.9%
Kees Cook70910.8%
Christoph Hellwig70760.8%
Linus Walleij67570.7%
Jakub Kicinski64020.7%
Wei Hu59670.7%
Mauro Carvalho Chehab56920.6%
Alex Deucher54060.6%

Kees Cook was this cycle's most prolific contributor of changesets; he did security-related work throughout the kernel, but the bulk of the patches implemented the internal kernel-timer API change. Colin Ian King contributed cleanup patches all over the kernel, Harry Wentland added another massive pile of AMD graphics driver code, Ben Skeggs worked on the Nouveau driver as usual, and Gustavo Silva focused on marking fall-through cases in switch statements (as in this patch).

In the lines-changed column, Wentland's AMD graphics driver additions topped the list. Dave Airlie brought the AMD display core code into the graphics subsystem, but also did a bunch of cleanup work resulting in the removal of over 21,000 lines of code. Takashi Iwai worked all over the audio subsystem; in particular, he removed the ancient Open Sound System code, shrinking the kernel by over 40,000 lines. Dmytro Laktyushkin and Rex Zhu also added more AMD graphics code. The AMD graphics drivers thus dominated the changes in this cycle in terms of lines of code, as has been the case for a number of recent development cycles.

It is worth noting once again that staging-tree work hardly figures in these numbers at all; the days when staging was the biggest driver of kernel changes appear to be done. The page-table isolation work also doesn't show up much here either, showing that important changes often come in relatively small packages.

The work in 4.15 was supported by 231 companies (that we can identify), more than worked on 4.14 but still a relatively small number by recent standards; 4.10 remains the record holder with 271 companies participating. The most active companies this time around were:

Most active 4.15 employers
By changesets
Intel160911.3%
AMD152610.7%
Red Hat9556.7%
(None)8135.7%
Google7395.2%
(Unknown)7034.9%
Linaro4893.4%
IBM4503.2%
Oracle3902.7%
Renesas Electronics3432.4%
Mellanox3402.4%
Linux Foundation3072.2%
ARM3062.2%
SUSE2942.1%
Broadcom2601.8%
Huawei Technologies2571.8%
Canonical2541.8%
(Consultant)2511.8%
Samsung2211.6%
Netronome Systems1571.1%
By lines changed
AMD26623029.3%
Red Hat9717710.7%
Intel827919.1%
SUSE464795.1%
(Unknown)337393.7%
IBM331053.6%
(None)248422.7%
Linaro232912.6%
Google177602.0%
Broadcom154821.7%
Mellanox149231.6%
Samsung138411.5%
Oracle137551.5%
Huawei Technologies136551.5%
ARM131181.4%
Renesas Electronics107621.2%
Netronome Systems103661.1%
Linux Foundation98551.1%
ST Microelectronics88031.0%
Chelsio86951.0%

The AMD graphics work shows clearly in these numbers; otherwise, the results are typical for recent development cycles.

The Signed-off-by tags attached to patches give clues as to who took responsibility for their development. In particular, if one looks at the signoffs attached by developers other than the author of the patch, the result is a picture of who accepted the patches for merging into the mainline — the most active maintainers, in other words. For the 4.15 kernel, the results look like this:

Non-author signoffs in 4.15
By developer
David S. Miller194214.1%
Alex Deucher155111.3%
Greg Kroah-Hartman7495.5%
Ingo Molnar3972.9%
Mark Brown3292.4%
Doug Ledford3002.2%
Mauro Carvalho Chehab2872.1%
Andrew Morton2712.0%
Jens Axboe2401.7%
Martin K. Petersen2261.6%
Thomas Gleixner2181.6%
Simon Horman1771.3%
Herbert Xu1741.3%
Jeff Kirsher1561.1%
Kalle Valo1521.1%
Michael Ellerman1511.1%
Jiri Pirko1260.9%
David Sterba1140.8%
Martin Schwidefsky1130.8%
Linus Walleij1100.8%
By company
Red Hat333424.3%
AMD168112.2%
Intel10887.9%
Linaro9046.6%
Linux Foundation7695.6%
Google4793.5%
Samsung4403.2%
Oracle3952.9%
IBM3722.7%
Facebook3342.4%
Huawei Technologies3282.4%
(None)3202.3%
Mellanox2832.1%
SUSE2702.0%
Renesas Electronics2191.6%
Free Electrons2181.6%
Linutronix2181.6%
Code Aurora Forum2141.6%
(Consultant)1811.3%
ARM1761.3%

Kernel subsystem maintainers have long been concentrated in a relatively small set of companies. That situation is slowly changing, but it's still true that, in 4.15, half of the changes merged were accepted by developers working for just four companies.

Finally, the most active bug reporters and patch testers, according to the Reported-by and Tested-by tags attached to patches, were:

Bug reporters and testers in 4.15
Reported-by credits
kernel test robot365.5%
Dan Carpenter253.8%
syzbot253.8%
Dmitry Vyukov121.8%
Andrey Konovalov111.7%
Geert Uytterhoeven91.4%
Arnd Bergmann71.1%
Michael Ellerman71.1%
Randy Dunlap71.1%
Brian Foster71.1%
Stephen Rothwell71.1%
Jianlin Shi71.1%
Jakub Kicinski60.9%
Tested-by credits
Andrew Bowers11412.7%
Juergen Gross525.8%
Yu Chen515.7%
Krishneil Singh222.4%
Borislav Petkov202.2%
Oleksandr Natalenko161.8%
Arnaldo Carvalho de Melo151.7%
Aaron Brown131.4%
Sean Wang121.3%
Chris Brandt121.3%
Xin Long111.2%
Geert Uytterhoeven91.0%
Lee Tibbert91.0%

A relatively new entry here is "syzbot", which is an operation run by Dmitry Vyukov at Google. Syzbot runs the syzkaller fuzz tester in an automated mode and reports the (numerous) crashes that result. As can be seen in the tags, those reports are leading to a steady stream of bug fixes, which can only be a good thing.

The story told by that final table is incomplete, though, in that most bug reporting and (especially) most testing goes untracked. The kernel community counts on many people beyond those who directly contribute code; it will never be possible to credit them all. As a whole, this community remains large, active, and growing, and the first kernel to be released in 2018 will reflect that.

Index entries for this article
KernelReleases/4.15


to post comments

Statistics for the 4.15 kernel

Posted Jan 4, 2018 16:38 UTC (Thu) by daenzer (subscriber, #7050) [Link] (5 responses)

Am I the only one slightly worried by Markus Elfring showing up in these statistics?

Statistics for the 4.15 kernel

Posted Jan 4, 2018 18:47 UTC (Thu) by lkundrak (subscriber, #43452) [Link] (2 responses)

Possibly. What's wrong with that?

Statistics for the 4.15 kernel

Posted Jan 5, 2018 8:33 UTC (Fri) by daenzer (subscriber, #7050) [Link] (1 responses)

Markus has a track record of submitting large numbers of "trivial", innocuous-looking patches, a lot of which have turned out to be untested and introducing subtle bugs.

Statistics for the 4.15 kernel

Posted Jan 5, 2018 10:56 UTC (Fri) by pbonzini (subscriber, #60935) [Link]

The patches aren't that bad, though some would indeed have introduced bugs. The problem is that 1) most of them are pointless; 2) he send a huge quantity of them; 3) it's very hard to communicate with him. But if you can withstand the SNR, there are some good (though still janitorial) changes.

Statistics for the 4.15 kernel

Posted Jan 4, 2018 18:55 UTC (Thu) by idrys (subscriber, #4347) [Link]

> Am I the only one slightly worried by Markus Elfring showing up in these
> statistics?

You're not. I would have thought he'd be on most maintainers' ignore lists by now (he sure is on mine).

Statistics for the 4.15 kernel

Posted Jan 10, 2018 14:31 UTC (Wed) by andy_shev (subscriber, #75870) [Link]

You are not alone :-) Though be my friend, I personally pushed his two patches to mainstream (though to be clear, I asked to produce them during review of some useless change, at the end I accepted the changes I asked for, and rejected his initial patch).


Copyright © 2018, 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