2022年Linux内核开发报告 .pdf
《2022年Linux内核开发报告 .pdf》由会员分享,可在线阅读,更多相关《2022年Linux内核开发报告 .pdf(20页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、? The Linux FoundationA White Paper By The Linux Foundationhttp:/www.linuxfoundation.orgLinux Kernel DevelopmentHow Fast it is Going, Who is Doing It, What They are Doing, and Who is Sponsoring ItDecember 2010.Jonathan Corbet, LWN.netGreg Kroah-Hartman, SuSE Labs / Novell Inc.Amanda McPherson, The L
2、inux Foundation名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 20 页 - - - - - - - - - 1796 18th Street, Suite CSan Francisco, CA 94107+1 415 723 9709http:/www.linuxfoundation.orgcompliancelinuxfoundation.org.1Linux Kernel DevelopmentSummaryThe kernel which forms
3、 the core of the Linux system is the result of one of the largest cooperative software projects ever attempted. Regular 2-3 month releases deliver stable updates to Linux users, each with significant new features, added device support, and improved performance. The rate of change in the kernel is hi
4、gh and increasing, with approximately 10,000 patches going into each recent kernel release. These releases each contain the work of over 1000 developers representing around 200 corporations.Since 2005, over 6100 individual developers from over 600 different companies have contributed to the kernel.
5、The Linux kernel, thus, has become a common resource developed on a massive scale by companies which are fierce competitors in other areas.The first version of this study was published in 2008; it was then updated in 2009. That update noted a number of changes, including a 10% increase in the number
6、 of developers participating in each release cycle, a notable increase in the number of companies participating, and a tripling of the rate at which code is being added to the kernel. At that time, all of the numbers were in a period of rapid increase.As documented in the last paper, in 2009 the Lin
7、ux community saw, with the release of 2.6.30, a peak in the lines of code added. This can largely be attributed to significant new features being added to the kernel, most notably the first additions of Btrfs, perf and ftrace, as well as the peak of the inflow from the Linux-staging tree that had be
8、en happening for some time.This update shows a slightly different picture. The number of commits peaked with the 2.6.30 release; the number of commits for 2.6.35 was 18% lower. Most other metrics have fallen as well.In short, we see a step back from the frenzied activity of 2.6.30 even though the nu
9、mber of developers involved has fallen only slightly since its peak in 2.6.32.The numbers in this edition of the paper reflect the natural development cycle of an operating system that had major pieces added/changed in the previous year. Of course the Linux kernel community is still hard at work and
10、 growing. In fact, there have been 1.5 million lines of code added to the kernel since the 2009 update. Since the last paper, additions and changes translate to an amazing 9,058 lines added, 4,495 lines removed, and 1,978 lines changed every day - weekends and holidays included.The data in this year
11、 s update also shows a good showing of new players in the Linux kernel development space from the world of mobile/consumer electronics and embedded technology (and their suppliers). This is a healthy development and not surprising given the growth of Linux usage in embedded devices, even though the
12、authors would like to see more companies from that space participate in the Linux development community.The overall picture shows a robust development community which continues to grow both in size and in productivity. 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2
13、 页,共 20 页 - - - - - - - - - 1796 18th Street, Suite CSan Francisco, CA 94107+1 415 723 9709http:/www.linuxfoundation.orgcompliancelinuxfoundation.org.2Linux Kernel DevelopmentIntroductionThe Linux kernel is the lowest level of software running on a Linux system. It is charged with managing the hardw
14、are, running user programs, and maintaining the overall security and integrity of the whole system. It is this kernel which, after its initial release by Linus Torvalds in 1991, jump-started the development of Linux as a whole. The kernel is a relatively small part of the software on a full Linux sy
15、stem (many other large components come from the GNU project, the GNOME and KDE desktop projects, the X.org project, and many other sources), but it is the core which determines how well the system will work and is the piece which is truly unique to Linux.The Linux kernel is an interesting project to
16、 study for a number of reasons. It is one of the largest individual components on almost any Linux system. It also features one of the fastest-moving development processes and involves more developers than any other open source project. Since 2005, kernel development history is also quite well docum
17、ented, thanks to the use of the Git source code management system.This paper takes advantage of that development history to look at how the process works, focusing on over five years of kernel history as represented by the 2.6.11 through 2.6.35 releases. This is the third version of this paper, foll
18、owing up on http:/www.linuxfoundation.org/sites/main/files/publications/linuxkerneldevelopment.pdf the original study which was published in April, 2008, and http:/www.linuxfoundation.org/sites/main/files/publications/whowriteslinux.pdf the 2009 update, which looked at the history through the 2.6.30
19、 release. A look at the five kernel releases which have happened since then shows that, while many things remain the same, others are changing.Development ModelLinux kernel development proceeds under a loose, time-based release model, with a new major kernel release occurring every 2-3 months. This
20、model, which was first formalized in 2005, gets new features into the mainline kernel and out to users with a minimum of delay. That, in turn, speeds the pace of development and minimizes the number of external changes that distributors need to apply. As a result, distributor kernels contain relativ
21、ely few distribution-specific changes; this leads to higher quality and fewer differences between distributions.One significant change since the initial version of this paper is the establishment of the linux-next tree. Linux-next serves as a staging area for the next kernel development cycle; as of
22、 this writing, 2.6.36 is in the stabilization phase, so linux-next contains changes intended for 2.6.37. This repository gives developers a better view of which changes are coming in the future and helps them to ensure that there will be a minimum of integration problems when the next development cy
23、cle begins. Linux-next smooths out the development cycle, helping it to scale to higher rates of change.After each mainline 2.6 release, the kernel s “ stable team” (currently Greg Kroah-Hartman) takes up short-term maintenance, applying important fixes as they are developed. The stable process 名师资料
24、总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 20 页 - - - - - - - - - 1796 18th Street, Suite CSan Francisco, CA 94107+1 415 723 9709http:/www.linuxfoundation.orgcompliancelinuxfoundation.org.3Linux Kernel Developmentensures that important fixes are made available
25、to distributors and users and that they are incorporated into future mainline releases as well. The stable maintenance period lasts a minimum of one development cycle and, for specific kernel releases, can go significantly longer; some stable update statistics will be provided below.Release Frequenc
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年Linux内核开发报告 2022 Linux 内核 开发 报告
限制150内