€•óŒsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ%/translations/zh_CN/process/2.Process”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/zh_TW/process/2.Process”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/it_IT/process/2.Process”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/ja_JP/process/2.Process”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/ko_KR/process/2.Process”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/pt_BR/process/2.Process”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ%/translations/sp_SP/process/2.Process”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒtarget”“”)�”}”(hŒ.. _development_process:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œdevelopment-process”uh1hµh´Khhh²hh³Œ?/var/lib/git/docbuild/linux/Documentation/process/2.Process.rst”ubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ!How the development process works”h]”hŒ!How the development process works”…”�”}”(hhËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhhÆh²hh³hÃh´KubhŒ paragraph”“”)�”}”(hX²Linux kernel development in the early 1990s was a pretty loose affair, with relatively small numbers of users and developers involved. With a user base in the millions and with some 2,000 developers involved over the course of one year, the kernel has since had to evolve a number of processes to keep development happening smoothly. A solid understanding of how the process works is required in order to be an effective part of it.”h]”hX²Linux kernel development in the early 1990s was a pretty loose affair, with relatively small numbers of users and developers involved. With a user base in the millions and with some 2,000 developers involved over the course of one year, the kernel has since had to evolve a number of processes to keep development happening smoothly. A solid understanding of how the process works is required in order to be an effective part of it.”…”�”}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KhhÆh²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒThe big picture”h]”hŒThe big picture”…”�”}”(hhìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhhéh²hh³hÃh´KubhÚ)�”}”(hXìThe Linux kernel uses a loosely time-based, rolling release development model. A new major kernel release (which we will call, as an example, 9.x) [1]_ happens every two or three months, which comes with new features, internal API changes, and more. A typical release can contain about 13,000 changesets with changes to several hundred thousand lines of code. Recent releases, along with their dates, can be found at `Wikipedia `_.”h]”(hŒ”The Linux kernel uses a loosely time-based, rolling release development model. A new major kernel release (which we will call, as an example, 9.x) ”…”�”}”(hhúh²hh³Nh´NubhŒfootnote_reference”“”)�”}”(hŒ[1]_”h]”hŒ1”…”�”}”(hjh²hh³Nh´Nubah}”(h]”Œid1”ah ]”h"]”h$]”h&]”hÁŒid2”Œdocname”Œprocess/2.Process”uh1jhhúŒresolved”KubhX  happens every two or three months, which comes with new features, internal API changes, and more. A typical release can contain about 13,000 changesets with changes to several hundred thousand lines of code. Recent releases, along with their dates, can be found at ”…”�”}”(hhúh²hh³Nh´NubhŒ reference”“”)�”}”(hŒI`Wikipedia `_”h]”hŒ Wikipedia”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œname”Œ Wikipedia”Œrefuri”Œ:https://en.wikipedia.org/wiki/Linux_kernel_version_history”uh1jhhúubh¶)�”}”(hŒ= ”h]”h}”(h]”Œ wikipedia”ah ]”h"]”Œ wikipedia”ah$]”h&]”Œrefuri”j.uh1hµŒ referenced”KhhúubhŒ.”…”�”}”(hhúh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Khhéh²hubhŒfootnote”“”)�”}”(hX-Strictly speaking, the Linux kernel does not use semantic versioning number scheme, but rather the 9.x pair identifies major release version as a whole number. For each release, x is incremented, but 9 is incremented only if x is deemed large enough (e.g. Linux 5.0 is released following Linux 4.20). ”h]”(hŒlabel”“”)�”}”(hŒ1”h]”hŒ1”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jMhjIubhÚ)�”}”(hX,Strictly speaking, the Linux kernel does not use semantic versioning number scheme, but rather the 9.x pair identifies major release version as a whole number. For each release, x is incremented, but 9 is incremented only if x is deemed large enough (e.g. Linux 5.0 is released following Linux 4.20).”h]”hX,Strictly speaking, the Linux kernel does not use semantic versioning number scheme, but rather the 9.x pair identifies major release version as a whole number. For each release, x is incremented, but 9 is incremented only if x is deemed large enough (e.g. Linux 5.0 is released following Linux 4.20).”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KhjIubeh}”(h]”jah ]”h"]”Œ1”ah$]”h&]”jajjuh1jGh³hÃh´Khhéh²hjKubhÚ)�”}”(hXA relatively straightforward discipline is followed with regard to the merging of patches for each release. At the beginning of each development cycle, the "merge window" is said to be open. At that time, code which is deemed to be sufficiently stable (and which is accepted by the development community) is merged into the mainline kernel. The bulk of changes for a new development cycle (and all of the major changes) will be merged during this time, at a rate approaching 1,000 changes ("patches," or "changesets") per day.”h]”hXA relatively straightforward discipline is followed with regard to the merging of patches for each release. At the beginning of each development cycle, the “merge windowâ€� is said to be open. At that time, code which is deemed to be sufficiently stable (and which is accepted by the development community) is merged into the mainline kernel. The bulk of changes for a new development cycle (and all of the major changes) will be merged during this time, at a rate approaching 1,000 changes (“patches,â€� or “changesetsâ€�) per day.”…”�”}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Khhéh²hubhÚ)�”}”(hŒì(As an aside, it is worth noting that the changes integrated during the merge window do not come out of thin air; they have been collected, tested, and staged ahead of time. How that process works will be described in detail later on).”h]”hŒì(As an aside, it is worth noting that the changes integrated during the merge window do not come out of thin air; they have been collected, tested, and staged ahead of time. How that process works will be described in detail later on).”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K'hhéh²hubhÚ)�”}”(hXÃThe merge window lasts for approximately two weeks. At the end of this time, Linus Torvalds will declare that the window is closed and release the first of the "rc" kernels. For the kernel which is destined to be 9.x, for example, the release which happens at the end of the merge window will be called 9.x-rc1. The -rc1 release is the signal that the time to merge new features has passed, and that the time to stabilize the next kernel has begun.”h]”hXÇThe merge window lasts for approximately two weeks. At the end of this time, Linus Torvalds will declare that the window is closed and release the first of the “rcâ€� kernels. For the kernel which is destined to be 9.x, for example, the release which happens at the end of the merge window will be called 9.x-rc1. The -rc1 release is the signal that the time to merge new features has passed, and that the time to stabilize the next kernel has begun.”…”�”}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K,hhéh²hubhÚ)�”}”(hX`Over the next six to ten weeks, only patches which fix problems should be submitted to the mainline. On occasion a more significant change will be allowed, but such occasions are rare; developers who try to merge new features outside of the merge window tend to get an unfriendly reception. As a general rule, if you miss the merge window for a given feature, the best thing to do is to wait for the next development cycle. (An occasional exception is made for drivers for previously-unsupported hardware; if they touch no in-tree code, they cannot cause regressions and should be safe to add at any time).”h]”hX`Over the next six to ten weeks, only patches which fix problems should be submitted to the mainline. On occasion a more significant change will be allowed, but such occasions are rare; developers who try to merge new features outside of the merge window tend to get an unfriendly reception. As a general rule, if you miss the merge window for a given feature, the best thing to do is to wait for the next development cycle. (An occasional exception is made for drivers for previously-unsupported hardware; if they touch no in-tree code, they cannot cause regressions and should be safe to add at any time).”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K4hhéh²hubhÚ)�”}”(hXLAs fixes make their way into the mainline, the patch rate will slow over time. Linus releases new -rc kernels about once a week; a normal series will get up to somewhere between -rc6 and -rc9 before the kernel is considered to be sufficiently stable and the final release is made. At that point the whole process starts over again.”h]”hXLAs fixes make their way into the mainline, the patch rate will slow over time. Linus releases new -rc kernels about once a week; a normal series will get up to somewhere between -rc6 and -rc9 before the kernel is considered to be sufficiently stable and the final release is made. At that point the whole process starts over again.”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K>hhéh²hubhÚ)�”}”(hŒNAs an example, here is how the 5.4 development cycle went (all dates in 2019):”h]”hŒNAs an example, here is how the 5.4 development cycle went (all dates in 2019):”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KDhhéh²hubhŒ block_quote”“”)�”}”(hX{============== =============================== September 15 5.3 stable release September 30 5.4-rc1, merge window closes October 6 5.4-rc2 October 13 5.4-rc3 October 20 5.4-rc4 October 27 5.4-rc5 November 3 5.4-rc6 November 10 5.4-rc7 November 17 5.4-rc8 November 24 5.4 stable release ============== =============================== ”h]”hŒtable”“”)�”}”(hhh]”hŒtgroup”“”)�”}”(hhh]”(hŒcolspec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jÖhjÓubj×)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jÖhjÓubhŒtbody”“”)�”}”(hhh]”(hŒrow”“”)�”}”(hhh]”(hŒentry”“”)�”}”(hhh]”hÚ)�”}”(hŒ September 15”h]”hŒ September 15”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KHhjøubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjóubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.3 stable release”h]”hŒ5.3 stable release”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KHhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjóubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ September 30”h]”hŒ September 30”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KIhj/ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj,ubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.4-rc1, merge window closes”h]”hŒ5.4-rc1, merge window closes”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KIhjFubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj,ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ October 6”h]”hŒ October 6”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KJhjfubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjcubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.4-rc2”h]”hŒ5.4-rc2”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KJhj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjcubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ October 13”h]”hŒ October 13”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KKhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjšubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.4-rc3”h]”hŒ5.4-rc3”…”�”}”(hj·h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KKhj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjšubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ October 20”h]”hŒ October 20”…”�”}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KLhjÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjÑubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.4-rc4”h]”hŒ5.4-rc4”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KLhjëubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ October 27”h]”hŒ October 27”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KMhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.4-rc5”h]”hŒ5.4-rc5”…”�”}”(hj%h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KMhj"ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ November 3”h]”hŒ November 3”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KNhjBubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj?ubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.4-rc6”h]”hŒ5.4-rc6”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KNhjYubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj?ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ November 10”h]”hŒ November 10”…”�”}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KOhjyubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjvubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.4-rc7”h]”hŒ5.4-rc7”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KOhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjvubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ November 17”h]”hŒ November 17”…”�”}”(hj³h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KPhj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj­ubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.4-rc8”h]”hŒ5.4-rc8”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KPhjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj­ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ November 24”h]”hŒ November 24”…”�”}”(hjêh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KQhjçubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjäubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.4 stable release”h]”hŒ5.4 stable release”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KQhjþubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjäubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjîubeh}”(h]”h ]”h"]”h$]”h&]”uh1jìhjÓubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jÑhjÎubah}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjÈubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´KGhhéh²hubhÚ)�”}”(hX½How do the developers decide when to close the development cycle and create the stable release? The most significant metric used is the list of regressions from previous releases. No bugs are welcome, but those which break systems which worked in the past are considered to be especially serious. For this reason, patches which cause regressions are looked upon unfavorably and are quite likely to be reverted during the stabilization period.”h]”hX½How do the developers decide when to close the development cycle and create the stable release? The most significant metric used is the list of regressions from previous releases. No bugs are welcome, but those which break systems which worked in the past are considered to be especially serious. For this reason, patches which cause regressions are looked upon unfavorably and are quite likely to be reverted during the stabilization period.”…”�”}”(hj4h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KThhéh²hubhÚ)�”}”(hXThe developers' goal is to fix all known regressions before the stable release is made. In the real world, this kind of perfection is hard to achieve; there are just too many variables in a project of this size. There comes a point where delaying the final release just makes the problem worse; the pile of changes waiting for the next merge window will grow larger, creating even more regressions the next time around. So most kernels go out with a handful of known regressions, though, hopefully, none of them are serious.”h]”hXThe developers’ goal is to fix all known regressions before the stable release is made. In the real world, this kind of perfection is hard to achieve; there are just too many variables in a project of this size. There comes a point where delaying the final release just makes the problem worse; the pile of changes waiting for the next merge window will grow larger, creating even more regressions the next time around. So most kernels go out with a handful of known regressions, though, hopefully, none of them are serious.”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K\hhéh²hubhÚ)�”}”(hŒüOnce a stable release is made, its ongoing maintenance is passed off to the "stable team," currently consists of Greg Kroah-Hartman and Sasha Levin. The stable team will release occasional updates to the stable release using the 9.x.y numbering scheme.”h]”hXOnce a stable release is made, its ongoing maintenance is passed off to the “stable team,â€� currently consists of Greg Kroah-Hartman and Sasha Levin. The stable team will release occasional updates to the stable release using the 9.x.y numbering scheme.”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kehhéh²hubhÚ)�”}”(hXcTo be considered for an update release, a patch must (1) fix a significant bug, and (2) already be merged into the mainline for the next development kernel. Kernels will typically receive stable updates for a little more than one development cycle past their initial release. So, for example, the 5.2 kernel's history looked like this (all dates in 2019):”h]”hXeTo be considered for an update release, a patch must (1) fix a significant bug, and (2) already be merged into the mainline for the next development kernel. Kernels will typically receive stable updates for a little more than one development cycle past their initial release. So, for example, the 5.2 kernel’s history looked like this (all dates in 2019):”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kjhhéh²hubjÇ)�”}”(hX============== =============================== July 7 5.2 stable release July 14 5.2.1 July 21 5.2.2 July 26 5.2.3 July 28 5.2.4 July 31 5.2.5 ... ... October 11 5.2.21 ============== =============================== ”h]”jÍ)�”}”(hhh]”jÒ)�”}”(hhh]”(j×)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jÖhjsubj×)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jÖhjsubjí)�”}”(hhh]”(jò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒJuly 7”h]”hŒJuly 7”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kqhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj�ubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.2 stable release”h]”hŒ5.2 stable release”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kqhj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj�ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjŠubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒJuly 14”h]”hŒJuly 14”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KrhjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjÄubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.2.1”h]”hŒ5.2.1”…”�”}”(hjáh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KrhjÞubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjÄubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjŠubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒJuly 21”h]”hŒJuly 21”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kshjþubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjûubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.2.2”h]”hŒ5.2.2”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kshjubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjûubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjŠubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒJuly 26”h]”hŒJuly 26”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kthj5ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj2ubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.2.3”h]”hŒ5.2.3”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KthjLubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjŠubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒJuly 28”h]”hŒJuly 28”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kuhjlubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjiubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.2.4”h]”hŒ5.2.4”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kuhjƒubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjiubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjŠubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒJuly 31”h]”hŒJuly 31”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kvhj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj ubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.2.5”h]”hŒ5.2.5”…”�”}”(hj½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kvhjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjŠubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ...”h]”hŒ...”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KwhjÚubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj×ubj÷)�”}”(hhh]”hÚ)�”}”(hŒ...”h]”hŒ...”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kwhjñubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj×ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjŠubjò)�”}”(hhh]”(j÷)�”}”(hhh]”hÚ)�”}”(hŒ October 11”h]”hŒ October 11”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kxhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjubj÷)�”}”(hhh]”hÚ)�”}”(hŒ5.2.21”h]”hŒ5.2.21”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kxhj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jñhjŠubeh}”(h]”h ]”h"]”h$]”h&]”uh1jìhjsubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jÑhjpubah}”(h]”h ]”h"]”h$]”h&]”uh1jÌhjlubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´Kphhéh²hubhÚ)�”}”(hŒ65.2.21 was the final stable update of the 5.2 release.”h]”hŒ65.2.21 was the final stable update of the 5.2 release.”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K{hhéh²hubhÚ)�”}”(hŒËSome kernels are designated "long term" kernels; they will receive support for a longer period. Please refer to the following link for the list of active long term kernel versions and their maintainers:”h]”hŒÏSome kernels are designated “long termâ€� kernels; they will receive support for a longer period. Please refer to the following link for the list of active long term kernel versions and their maintainers:”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K}hhéh²hubjÇ)�”}”(hŒ.https://www.kernel.org/category/releases.html ”h]”hÚ)�”}”(hŒ-https://www.kernel.org/category/releases.html”h]”j)�”}”(hj€h]”hŒ-https://www.kernel.org/category/releases.html”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j€uh1jhj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K�hjzubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´K�hhéh²hubhÚ)�”}”(hŒÜThe selection of a kernel for long-term support is purely a matter of a maintainer having the need and the time to maintain that release. There are no known plans for long-term support for any specific upcoming release.”h]”hŒÜThe selection of a kernel for long-term support is purely a matter of a maintainer having the need and the time to maintain that release. There are no known plans for long-term support for any specific upcoming release.”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kƒhhéh²hubeh}”(h]”Œthe-big-picture”ah ]”h"]”Œthe big picture”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒThe lifecycle of a patch”h]”hŒThe lifecycle of a patch”…”�”}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj²h²hh³hÃh´KŠubhÚ)�”}”(hXPatches do not go directly from the developer's keyboard into the mainline kernel. There is, instead, a somewhat involved (if somewhat informal) process designed to ensure that each patch is reviewed for quality and that each patch implements a change which is desirable to have in the mainline. This process can happen quickly for minor fixes, or, in the case of large and controversial changes, go on for years. Much developer frustration comes from a lack of understanding of this process or from attempts to circumvent it.”h]”hXPatches do not go directly from the developer’s keyboard into the mainline kernel. There is, instead, a somewhat involved (if somewhat informal) process designed to ensure that each patch is reviewed for quality and that each patch implements a change which is desirable to have in the mainline. This process can happen quickly for minor fixes, or, in the case of large and controversial changes, go on for years. Much developer frustration comes from a lack of understanding of this process or from attempts to circumvent it.”…”�”}”(hjÃh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KŒhj²h²hubhÚ)�”}”(hXIn the hopes of reducing that frustration, this document will describe how a patch gets into the kernel. What follows below is an introduction which describes the process in a somewhat idealized way. A much more detailed treatment will come in later sections.”h]”hXIn the hopes of reducing that frustration, this document will describe how a patch gets into the kernel. What follows below is an introduction which describes the process in a somewhat idealized way. A much more detailed treatment will come in later sections.”…”�”}”(hjÑh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K•hj²h²hubhÚ)�”}”(hŒ4The stages that a patch goes through are, generally:”h]”hŒ4The stages that a patch goes through are, generally:”…”�”}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kšhj²h²hubjÇ)�”}”(hX2- Design. This is where the real requirements for the patch - and the way those requirements will be met - are laid out. Design work is often done without involving the community, but it is better to do this work in the open if at all possible; it can save a lot of time redesigning things later. - Early review. Patches are posted to the relevant mailing list, and developers on that list reply with any comments they may have. This process should turn up any major problems with a patch if all goes well. - Wider review. When the patch is getting close to ready for mainline inclusion, it should be accepted by a relevant subsystem maintainer - though this acceptance is not a guarantee that the patch will make it all the way to the mainline. The patch will show up in the maintainer's subsystem tree and into the -next trees (described below). When the process works, this step leads to more extensive review of the patch and the discovery of any problems resulting from the integration of this patch with work being done by others. ”h]”hŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hX)Design. This is where the real requirements for the patch - and the way those requirements will be met - are laid out. Design work is often done without involving the community, but it is better to do this work in the open if at all possible; it can save a lot of time redesigning things later. ”h]”hÚ)�”}”(hX(Design. This is where the real requirements for the patch - and the way those requirements will be met - are laid out. Design work is often done without involving the community, but it is better to do this work in the open if at all possible; it can save a lot of time redesigning things later.”h]”hX(Design. This is where the real requirements for the patch - and the way those requirements will be met - are laid out. Design work is often done without involving the community, but it is better to do this work in the open if at all possible; it can save a lot of time redesigning things later.”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kœhjøubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjóubj÷)�”}”(hŒÒEarly review. Patches are posted to the relevant mailing list, and developers on that list reply with any comments they may have. This process should turn up any major problems with a patch if all goes well. ”h]”hÚ)�”}”(hŒÑEarly review. Patches are posted to the relevant mailing list, and developers on that list reply with any comments they may have. This process should turn up any major problems with a patch if all goes well.”h]”hŒÑEarly review. Patches are posted to the relevant mailing list, and developers on that list reply with any comments they may have. This process should turn up any major problems with a patch if all goes well.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K¢hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjóubj÷)�”}”(hXWider review. When the patch is getting close to ready for mainline inclusion, it should be accepted by a relevant subsystem maintainer - though this acceptance is not a guarantee that the patch will make it all the way to the mainline. The patch will show up in the maintainer's subsystem tree and into the -next trees (described below). When the process works, this step leads to more extensive review of the patch and the discovery of any problems resulting from the integration of this patch with work being done by others. ”h]”hÚ)�”}”(hXWider review. When the patch is getting close to ready for mainline inclusion, it should be accepted by a relevant subsystem maintainer - though this acceptance is not a guarantee that the patch will make it all the way to the mainline. The patch will show up in the maintainer's subsystem tree and into the -next trees (described below). When the process works, this step leads to more extensive review of the patch and the discovery of any problems resulting from the integration of this patch with work being done by others.”h]”hXWider review. When the patch is getting close to ready for mainline inclusion, it should be accepted by a relevant subsystem maintainer - though this acceptance is not a guarantee that the patch will make it all the way to the mainline. The patch will show up in the maintainer’s subsystem tree and into the -next trees (described below). When the process works, this step leads to more extensive review of the patch and the discovery of any problems resulting from the integration of this patch with work being done by others.”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K§hj(ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjóubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1jñh³hÃh´Kœhjíubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´Kœhj²h²hubjò)�”}”(hhh]”j÷)�”}”(hXýPlease note that most maintainers also have day jobs, so merging your patch may not be their highest priority. If your patch is getting feedback about changes that are needed, you should either make those changes or justify why they should not be made. If your patch has no review complaints but is not being merged by its appropriate subsystem or driver maintainer, you should be persistent in updating the patch to the current kernel so that it applies cleanly and keep sending it for review and merging. ”h]”hÚ)�”}”(hXüPlease note that most maintainers also have day jobs, so merging your patch may not be their highest priority. If your patch is getting feedback about changes that are needed, you should either make those changes or justify why they should not be made. If your patch has no review complaints but is not being merged by its appropriate subsystem or driver maintainer, you should be persistent in updating the patch to the current kernel so that it applies cleanly and keep sending it for review and merging.”h]”hXüPlease note that most maintainers also have day jobs, so merging your patch may not be their highest priority. If your patch is getting feedback about changes that are needed, you should either make those changes or justify why they should not be made. If your patch has no review complaints but is not being merged by its appropriate subsystem or driver maintainer, you should be persistent in updating the patch to the current kernel so that it applies cleanly and keep sending it for review and merging.”…”�”}”(hjUh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K°hjQubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjNh²hh³hÃh´Nubah}”(h]”h ]”h"]”h$]”h&]”jFjGuh1jñh³hÃh´K°hj²h²hubjÇ)�”}”(hX`- Merging into the mainline. Eventually, a successful patch will be merged into the mainline repository managed by Linus Torvalds. More comments and/or problems may surface at this time; it is important that the developer be responsive to these and fix any issues which arise. - Stable release. The number of users potentially affected by the patch is now large, so, once again, new problems may arise. - Long-term maintenance. While it is certainly possible for a developer to forget about code after merging it, that sort of behavior tends to leave a poor impression in the development community. Merging code eliminates some of the maintenance burden, in that others will fix problems caused by API changes. But the original developer should continue to take responsibility for the code if it is to remain useful in the longer term. ”h]”jò)�”}”(hhh]”(j÷)�”}”(hXMerging into the mainline. Eventually, a successful patch will be merged into the mainline repository managed by Linus Torvalds. More comments and/or problems may surface at this time; it is important that the developer be responsive to these and fix any issues which arise. ”h]”hÚ)�”}”(hXMerging into the mainline. Eventually, a successful patch will be merged into the mainline repository managed by Linus Torvalds. More comments and/or problems may surface at this time; it is important that the developer be responsive to these and fix any issues which arise.”h]”hXMerging into the mainline. Eventually, a successful patch will be merged into the mainline repository managed by Linus Torvalds. More comments and/or problems may surface at this time; it is important that the developer be responsive to these and fix any issues which arise.”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K¹hjvubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjsubj÷)�”}”(hŒ}Stable release. The number of users potentially affected by the patch is now large, so, once again, new problems may arise. ”h]”hÚ)�”}”(hŒ|Stable release. The number of users potentially affected by the patch is now large, so, once again, new problems may arise.”h]”hŒ|Stable release. The number of users potentially affected by the patch is now large, so, once again, new problems may arise.”…”�”}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K¾hjŽubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjsubj÷)�”}”(hX²Long-term maintenance. While it is certainly possible for a developer to forget about code after merging it, that sort of behavior tends to leave a poor impression in the development community. Merging code eliminates some of the maintenance burden, in that others will fix problems caused by API changes. But the original developer should continue to take responsibility for the code if it is to remain useful in the longer term. ”h]”hÚ)�”}”(hX±Long-term maintenance. While it is certainly possible for a developer to forget about code after merging it, that sort of behavior tends to leave a poor impression in the development community. Merging code eliminates some of the maintenance burden, in that others will fix problems caused by API changes. But the original developer should continue to take responsibility for the code if it is to remain useful in the longer term.”h]”hX±Long-term maintenance. While it is certainly possible for a developer to forget about code after merging it, that sort of behavior tends to leave a poor impression in the development community. Merging code eliminates some of the maintenance burden, in that others will fix problems caused by API changes. But the original developer should continue to take responsibility for the code if it is to remain useful in the longer term.”…”�”}”(hjªh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÁhj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhjsubeh}”(h]”h ]”h"]”h$]”h&]”jFjGuh1jñh³hÃh´K¹hjoubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´K¹hj²h²hubhÚ)�”}”(hŒáOne of the largest mistakes made by kernel developers (or their employers) is to try to cut the process down to a single "merging into the mainline" step. This approach invariably leads to frustration for everybody involved.”h]”hŒåOne of the largest mistakes made by kernel developers (or their employers) is to try to cut the process down to a single “merging into the mainlineâ€� step. This approach invariably leads to frustration for everybody involved.”…”�”}”(hjÊh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÉhj²h²hubeh}”(h]”Œthe-lifecycle-of-a-patch”ah ]”h"]”Œthe lifecycle of a patch”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KŠubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒHow patches get into the Kernel”h]”hŒHow patches get into the Kernel”…”�”}”(hjãh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjàh²hh³hÃh´KÏubhÚ)�”}”(hXûThere is exactly one person who can merge patches into the mainline kernel repository: Linus Torvalds. But, for example, of the over 9,500 patches which went into the 2.6.38 kernel, only 112 (around 1.3%) were directly chosen by Linus himself. The kernel project has long since grown to a size where no single developer could possibly inspect and select every patch unassisted. The way the kernel developers have addressed this growth is through the use of a lieutenant system built around a chain of trust.”h]”hXûThere is exactly one person who can merge patches into the mainline kernel repository: Linus Torvalds. But, for example, of the over 9,500 patches which went into the 2.6.38 kernel, only 112 (around 1.3%) were directly chosen by Linus himself. The kernel project has long since grown to a size where no single developer could possibly inspect and select every patch unassisted. The way the kernel developers have addressed this growth is through the use of a lieutenant system built around a chain of trust.”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÑhjàh²hubhÚ)�”}”(hXàThe kernel code base is logically broken down into a set of subsystems: networking, specific architecture support, memory management, video devices, etc. Most subsystems have a designated maintainer, a developer who has overall responsibility for the code within that subsystem. These subsystem maintainers are the gatekeepers (in a loose way) for the portion of the kernel they manage; they are the ones who will (usually) accept a patch for inclusion into the mainline kernel.”h]”hXàThe kernel code base is logically broken down into a set of subsystems: networking, specific architecture support, memory management, video devices, etc. Most subsystems have a designated maintainer, a developer who has overall responsibility for the code within that subsystem. These subsystem maintainers are the gatekeepers (in a loose way) for the portion of the kernel they manage; they are the ones who will (usually) accept a patch for inclusion into the mainline kernel.”…”�”}”(hjÿh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÙhjàh²hubhÚ)�”}”(hX¬Subsystem maintainers each manage their own version of the kernel source tree, usually (but certainly not always) using the git source management tool. Tools like git (and related tools like quilt or mercurial) allow maintainers to track a list of patches, including authorship information and other metadata. At any given time, the maintainer can identify which patches in his or her repository are not found in the mainline.”h]”hX¬Subsystem maintainers each manage their own version of the kernel source tree, usually (but certainly not always) using the git source management tool. Tools like git (and related tools like quilt or mercurial) allow maintainers to track a list of patches, including authorship information and other metadata. At any given time, the maintainer can identify which patches in his or her repository are not found in the mainline.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Káhjàh²hubhÚ)�”}”(hXùWhen the merge window opens, top-level maintainers will ask Linus to "pull" the patches they have selected for merging from their repositories. If Linus agrees, the stream of patches will flow up into his repository, becoming part of the mainline kernel. The amount of attention that Linus pays to specific patches received in a pull operation varies. It is clear that, sometimes, he looks quite closely. But, as a general rule, Linus trusts the subsystem maintainers to not send bad patches upstream.”h]”hXýWhen the merge window opens, top-level maintainers will ask Linus to “pullâ€� the patches they have selected for merging from their repositories. If Linus agrees, the stream of patches will flow up into his repository, becoming part of the mainline kernel. The amount of attention that Linus pays to specific patches received in a pull operation varies. It is clear that, sometimes, he looks quite closely. But, as a general rule, Linus trusts the subsystem maintainers to not send bad patches upstream.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kèhjàh²hubhÚ)�”}”(hX½Subsystem maintainers, in turn, can pull patches from other maintainers. For example, the networking tree is built from patches which accumulated first in trees dedicated to network device drivers, wireless networking, etc. This chain of repositories can be arbitrarily long, though it rarely exceeds two or three links. Since each maintainer in the chain trusts those managing lower-level trees, this process is known as the "chain of trust."”h]”hXÁSubsystem maintainers, in turn, can pull patches from other maintainers. For example, the networking tree is built from patches which accumulated first in trees dedicated to network device drivers, wireless networking, etc. This chain of repositories can be arbitrarily long, though it rarely exceeds two or three links. Since each maintainer in the chain trusts those managing lower-level trees, this process is known as the “chain of trust.â€�”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kðhjàh²hubhÚ)�”}”(hŒ°Clearly, in a system like this, getting patches into the kernel depends on finding the right maintainer. Sending patches directly to Linus is not normally the right way to go.”h]”hŒ°Clearly, in a system like this, getting patches into the kernel depends on finding the right maintainer. Sending patches directly to Linus is not normally the right way to go.”…”�”}”(hj7h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Køhjàh²hubeh}”(h]”Œhow-patches-get-into-the-kernel”ah ]”h"]”Œhow patches get into the kernel”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KÏubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Next trees”h]”hŒ Next trees”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjMh²hh³hÃh´KþubhÚ)�”}”(hXßThe chain of subsystem trees guides the flow of patches into the kernel, but it also raises an interesting question: what if somebody wants to look at all of the patches which are being prepared for the next merge window? Developers will be interested in what other changes are pending to see whether there are any conflicts to worry about; a patch which changes a core kernel function prototype, for example, will conflict with any other patches which use the older form of that function. Reviewers and testers want access to the changes in their integrated form before all of those changes land in the mainline kernel. One could pull changes from all of the interesting subsystem trees, but that would be a big and error-prone job.”h]”hXßThe chain of subsystem trees guides the flow of patches into the kernel, but it also raises an interesting question: what if somebody wants to look at all of the patches which are being prepared for the next merge window? Developers will be interested in what other changes are pending to see whether there are any conflicts to worry about; a patch which changes a core kernel function prototype, for example, will conflict with any other patches which use the older form of that function. Reviewers and testers want access to the changes in their integrated form before all of those changes land in the mainline kernel. One could pull changes from all of the interesting subsystem trees, but that would be a big and error-prone job.”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjMh²hubhÚ)�”}”(hXfThe answer comes in the form of -next trees, where subsystem trees are collected for testing and review. The older of these trees, maintained by Andrew Morton, is called "-mm" (for memory management, which is how it got started). The -mm tree integrates patches from a long list of subsystem trees; it also has some patches aimed at helping with debugging.”h]”hXjThe answer comes in the form of -next trees, where subsystem trees are collected for testing and review. The older of these trees, maintained by Andrew Morton, is called “-mmâ€� (for memory management, which is how it got started). The -mm tree integrates patches from a long list of subsystem trees; it also has some patches aimed at helping with debugging.”…”�”}”(hjlh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M hjMh²hubhÚ)�”}”(hX§Beyond that, -mm contains a significant collection of patches which have been selected by Andrew directly. These patches may have been posted on a mailing list, or they may apply to a part of the kernel for which there is no designated subsystem tree. As a result, -mm operates as a sort of subsystem tree of last resort; if there is no other obvious path for a patch into the mainline, it is likely to end up in -mm. Miscellaneous patches which accumulate in -mm will eventually either be forwarded on to an appropriate subsystem tree or be sent directly to Linus. In a typical development cycle, approximately 5-10% of the patches going into the mainline get there via -mm.”h]”hX§Beyond that, -mm contains a significant collection of patches which have been selected by Andrew directly. These patches may have been posted on a mailing list, or they may apply to a part of the kernel for which there is no designated subsystem tree. As a result, -mm operates as a sort of subsystem tree of last resort; if there is no other obvious path for a patch into the mainline, it is likely to end up in -mm. Miscellaneous patches which accumulate in -mm will eventually either be forwarded on to an appropriate subsystem tree or be sent directly to Linus. In a typical development cycle, approximately 5-10% of the patches going into the mainline get there via -mm.”…”�”}”(hjzh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjMh²hubhÚ)�”}”(hŒSThe current -mm patch is available in the "mmotm" (-mm of the moment) directory at:”h]”hŒWThe current -mm patch is available in the “mmotmâ€� (-mm of the moment) directory at:”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjMh²hubjÇ)�”}”(hŒ$https://www.ozlabs.org/~akpm/mmotm/ ”h]”hÚ)�”}”(hŒ#https://www.ozlabs.org/~akpm/mmotm/”h]”j)�”}”(hjœh]”hŒ#https://www.ozlabs.org/~akpm/mmotm/”…”�”}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jœuh1jhjšubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M hj–ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´M hjMh²hubhÚ)�”}”(hŒ�Use of the MMOTM tree is likely to be a frustrating experience, though; there is a definite chance that it will not even compile.”h]”hŒ�Use of the MMOTM tree is likely to be a frustrating experience, though; there is a definite chance that it will not even compile.”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M"hjMh²hubhÚ)�”}”(hX]The primary tree for next-cycle patch merging is linux-next, maintained by Mark Brown. The linux-next tree is, by design, a snapshot of what the mainline is expected to look like after the next merge window closes. Linux-next trees are announced on the linux-kernel and linux-next mailing lists when they are assembled; they can be downloaded from:”h]”hX]The primary tree for next-cycle patch merging is linux-next, maintained by Mark Brown. The linux-next tree is, by design, a snapshot of what the mainline is expected to look like after the next merge window closes. Linux-next trees are announced on the linux-kernel and linux-next mailing lists when they are assembled; they can be downloaded from:”…”�”}”(hjÆh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M%hjMh²hubjÇ)�”}”(hŒ.https://www.kernel.org/pub/linux/kernel/next/ ”h]”hÚ)�”}”(hŒ-https://www.kernel.org/pub/linux/kernel/next/”h]”j)�”}”(hjÚh]”hŒ-https://www.kernel.org/pub/linux/kernel/next/”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jÚuh1jhjØubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M+hjÔubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´M+hjMh²hubhÚ)�”}”(hŒÔLinux-next has become an integral part of the kernel development process; all patches merged during a given merge window should really have found their way into linux-next some time before the merge window opens.”h]”hŒÔLinux-next has become an integral part of the kernel development process; all patches merged during a given merge window should really have found their way into linux-next some time before the merge window opens.”…”�”}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M-hjMh²hubeh}”(h]”Œ next-trees”ah ]”h"]”Œ next trees”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KþubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Staging trees”h]”hŒ Staging trees”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj h²hh³hÃh´M3ubhÚ)�”}”(hXÈThe kernel source tree contains the drivers/staging/ directory, where many sub-directories for drivers or filesystems that are on their way to being added to the kernel tree live. They remain in drivers/staging while they still need more work; once complete, they can be moved into the kernel proper. This is a way to keep track of drivers that aren't up to Linux kernel coding or quality standards, but people may want to use them and track development.”h]”hXÊThe kernel source tree contains the drivers/staging/ directory, where many sub-directories for drivers or filesystems that are on their way to being added to the kernel tree live. They remain in drivers/staging while they still need more work; once complete, they can be moved into the kernel proper. This is a way to keep track of drivers that aren’t up to Linux kernel coding or quality standards, but people may want to use them and track development.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M5hj h²hubhÚ)�”}”(hXGreg Kroah-Hartman currently maintains the staging tree. Drivers that still need work are sent to him, with each driver having its own subdirectory in drivers/staging/. Along with the driver source files, a TODO file should be present in the directory as well. The TODO file lists the pending work that the driver needs for acceptance into the kernel proper, as well as a list of people that should be Cc'd for any patches to the driver. Current rules require that drivers contributed to staging must, at a minimum, compile properly.”h]”hXGreg Kroah-Hartman currently maintains the staging tree. Drivers that still need work are sent to him, with each driver having its own subdirectory in drivers/staging/. Along with the driver source files, a TODO file should be present in the directory as well. The TODO file lists the pending work that the driver needs for acceptance into the kernel proper, as well as a list of people that should be Cc’d for any patches to the driver. Current rules require that drivers contributed to staging must, at a minimum, compile properly.”…”�”}”(hj+ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M=hj h²hubhÚ)�”}”(hXÑStaging can be a relatively easy way to get new drivers into the mainline where, with luck, they will come to the attention of other developers and improve quickly. Entry into staging is not the end of the story, though; code in staging which is not seeing regular progress will eventually be removed. Distributors also tend to be relatively reluctant to enable staging drivers. So staging is, at best, a stop on the way toward becoming a proper mainline driver.”h]”hXÑStaging can be a relatively easy way to get new drivers into the mainline where, with luck, they will come to the attention of other developers and improve quickly. Entry into staging is not the end of the story, though; code in staging which is not seeing regular progress will eventually be removed. Distributors also tend to be relatively reluctant to enable staging drivers. So staging is, at best, a stop on the way toward becoming a proper mainline driver.”…”�”}”(hj9 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MFhj h²hubeh}”(h]”Œ staging-trees”ah ]”h"]”Œ staging trees”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´M3ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒTools”h]”hŒTools”…”�”}”(hjR h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjO h²hh³hÃh´MPubhÚ)�”}”(hXqAs can be seen from the above text, the kernel development process depends heavily on the ability to herd collections of patches in various directions. The whole thing would not work anywhere near as well as it does without suitably powerful tools. Tutorials on how to use these tools are well beyond the scope of this document, but there is space for a few pointers.”h]”hXqAs can be seen from the above text, the kernel development process depends heavily on the ability to herd collections of patches in various directions. The whole thing would not work anywhere near as well as it does without suitably powerful tools. Tutorials on how to use these tools are well beyond the scope of this document, but there is space for a few pointers.”…”�”}”(hj` h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MRhjO h²hubhÚ)�”}”(hXŽBy far the dominant source code management system used by the kernel community is git. Git is one of a number of distributed version control systems being developed in the free software community. It is well tuned for kernel development, in that it performs quite well when dealing with large repositories and large numbers of patches. It also has a reputation for being difficult to learn and use, though it has gotten better over time. Some sort of familiarity with git is almost a requirement for kernel developers; even if they do not use it for their own work, they'll need git to keep up with what other developers (and the mainline) are doing.”h]”hX�By far the dominant source code management system used by the kernel community is git. Git is one of a number of distributed version control systems being developed in the free software community. It is well tuned for kernel development, in that it performs quite well when dealing with large repositories and large numbers of patches. It also has a reputation for being difficult to learn and use, though it has gotten better over time. Some sort of familiarity with git is almost a requirement for kernel developers; even if they do not use it for their own work, they’ll need git to keep up with what other developers (and the mainline) are doing.”…”�”}”(hjn h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MYhjO h²hubhÚ)�”}”(hŒPGit is now packaged by almost all Linux distributions. There is a home page at:”h]”hŒPGit is now packaged by almost all Linux distributions. There is a home page at:”…”�”}”(hj| h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MchjO h²hubjÇ)�”}”(hŒhttps://git-scm.com/ ”h]”hÚ)�”}”(hŒhttps://git-scm.com/”h]”j)�”}”(hj� h]”hŒhttps://git-scm.com/”…”�”}”(hj’ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j� uh1jhjŽ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MfhjŠ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´MfhjO h²hubhÚ)�”}”(hŒ6That page has pointers to documentation and tutorials.”h]”hŒ6That page has pointers to documentation and tutorials.”…”�”}”(hj¬ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhhjO h²hubhÚ)�”}”(hŒfAmong the kernel developers who do not use git, the most popular choice is almost certainly Mercurial:”h]”hŒfAmong the kernel developers who do not use git, the most popular choice is almost certainly Mercurial:”…”�”}”(hjº h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MjhjO h²hubjÇ)�”}”(hŒ#https://www.selenic.com/mercurial/ ”h]”hÚ)�”}”(hŒ"https://www.selenic.com/mercurial/”h]”j)�”}”(hjÎ h]”hŒ"https://www.selenic.com/mercurial/”…”�”}”(hjÐ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jÎ uh1jhjÌ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MmhjÈ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´MmhjO h²hubhÚ)�”}”(hŒdMercurial shares many features with git, but it provides an interface which many find easier to use.”h]”hŒdMercurial shares many features with git, but it provides an interface which many find easier to use.”…”�”}”(hjê h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MohjO h²hubhÚ)�”}”(hŒ,The other tool worth knowing about is Quilt:”h]”hŒ,The other tool worth knowing about is Quilt:”…”�”}”(hjø h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MrhjO h²hubjÇ)�”}”(hŒ,https://savannah.nongnu.org/projects/quilt/ ”h]”hÚ)�”}”(hŒ+https://savannah.nongnu.org/projects/quilt/”h]”j)�”}”(hj h]”hŒ+https://savannah.nongnu.org/projects/quilt/”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j uh1jhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mthj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´MthjO h²hubhÚ)�”}”(hX”Quilt is a patch management system, rather than a source code management system. It does not track history over time; it is, instead, oriented toward tracking a specific set of changes against an evolving code base. Some major subsystem maintainers use quilt to manage patches intended to go upstream. For the management of certain kinds of trees (-mm, for example), quilt is the best tool for the job.”h]”hX”Quilt is a patch management system, rather than a source code management system. It does not track history over time; it is, instead, oriented toward tracking a specific set of changes against an evolving code base. Some major subsystem maintainers use quilt to manage patches intended to go upstream. For the management of certain kinds of trees (-mm, for example), quilt is the best tool for the job.”…”�”}”(hj( h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MvhjO h²hubeh}”(h]”Œtools”ah ]”h"]”Œtools”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´MPubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Mailing lists”h]”hŒ Mailing lists”…”�”}”(hjA h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj> h²hh³hÃh´MubhÚ)�”}”(hXA great deal of Linux kernel development work is done by way of mailing lists. It is hard to be a fully-functioning member of the community without joining at least one list somewhere. But Linux mailing lists also represent a potential hazard to developers, who risk getting buried under a load of electronic mail, running afoul of the conventions used on the Linux lists, or both.”h]”hXA great deal of Linux kernel development work is done by way of mailing lists. It is hard to be a fully-functioning member of the community without joining at least one list somewhere. But Linux mailing lists also represent a potential hazard to developers, who risk getting buried under a load of electronic mail, running afoul of the conventions used on the Linux lists, or both.”…”�”}”(hjO h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M�hj> h²hubhÚ)�”}”(hŒTMost kernel mailing lists are hosted at kernel.org; the master list can be found at:”h]”hŒTMost kernel mailing lists are hosted at kernel.org; the master list can be found at:”…”�”}”(hj] h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mˆhj> h²hubjÇ)�”}”(hŒhttps://subspace.kernel.org ”h]”hÚ)�”}”(hŒhttps://subspace.kernel.org”h]”j)�”}”(hjq h]”hŒhttps://subspace.kernel.org”…”�”}”(hjs h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jq uh1jhjo ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M‹hjk ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÆh³hÃh´M‹hj> h²hubhÚ)�”}”(hŒwThere are lists hosted elsewhere; please check the MAINTAINERS file for the list relevant for any particular subsystem.”h]”hŒwThere are lists hosted elsewhere; please check the MAINTAINERS file for the list relevant for any particular subsystem.”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M�hj> h²hubhÚ)�”}”(hXÖThe core mailing list for kernel development is, of course, linux-kernel. This list is an intimidating place to be; volume can reach 500 messages per day, the amount of noise is high, the conversation can be severely technical, and participants are not always concerned with showing a high degree of politeness. But there is no other place where the kernel development community comes together as a whole; developers who avoid this list will miss important information.”h]”hXÖThe core mailing list for kernel development is, of course, linux-kernel. This list is an intimidating place to be; volume can reach 500 messages per day, the amount of noise is high, the conversation can be severely technical, and participants are not always concerned with showing a high degree of politeness. But there is no other place where the kernel development community comes together as a whole; developers who avoid this list will miss important information.”…”�”}”(hj› h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M�hj> h²hubhÚ)�”}”(hŒ@There are a few hints which can help with linux-kernel survival:”h]”hŒ@There are a few hints which can help with linux-kernel survival:”…”�”}”(hj© h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M˜hj> h²hubjò)�”}”(hhh]”(j÷)�”}”(hŒ“Have the list delivered to a separate folder, rather than your main mailbox. One must be able to ignore the stream for sustained periods of time. ”h]”hÚ)�”}”(hŒ’Have the list delivered to a separate folder, rather than your main mailbox. One must be able to ignore the stream for sustained periods of time.”h]”hŒ’Have the list delivered to a separate folder, rather than your main mailbox. One must be able to ignore the stream for sustained periods of time.”…”�”}”(hj¾ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mšhjº ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj· h²hh³hÃh´Nubj÷)�”}”(hXDo not try to follow every conversation - nobody else does. It is important to filter on both the topic of interest (though note that long-running conversations can drift away from the original subject without changing the email subject line) and the people who are participating. ”h]”hÚ)�”}”(hXDo not try to follow every conversation - nobody else does. It is important to filter on both the topic of interest (though note that long-running conversations can drift away from the original subject without changing the email subject line) and the people who are participating.”h]”hXDo not try to follow every conversation - nobody else does. It is important to filter on both the topic of interest (though note that long-running conversations can drift away from the original subject without changing the email subject line) and the people who are participating.”…”�”•ï:}”(hjÖ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MžhjÒ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj· h²hh³hÃh´Nubj÷)�”}”(hŒZDo not feed the trolls. If somebody is trying to stir up an angry response, ignore them. ”h]”hÚ)�”}”(hŒYDo not feed the trolls. If somebody is trying to stir up an angry response, ignore them.”h]”hŒYDo not feed the trolls. If somebody is trying to stir up an angry response, ignore them.”…”�”}”(hjî h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¤hjê ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj· h²hh³hÃh´Nubj÷)�”}”(hX‚When responding to linux-kernel email (or that on other lists) preserve the Cc: header for all involved. In the absence of a strong reason (such as an explicit request), you should never remove recipients. Always make sure that the person you are responding to is in the Cc: list. This convention also makes it unnecessary to explicitly ask to be copied on replies to your postings. ”h]”hÚ)�”}”(hX�When responding to linux-kernel email (or that on other lists) preserve the Cc: header for all involved. In the absence of a strong reason (such as an explicit request), you should never remove recipients. Always make sure that the person you are responding to is in the Cc: list. This convention also makes it unnecessary to explicitly ask to be copied on replies to your postings.”h]”hX�When responding to linux-kernel email (or that on other lists) preserve the Cc: header for all involved. In the absence of a strong reason (such as an explicit request), you should never remove recipients. Always make sure that the person you are responding to is in the Cc: list. This convention also makes it unnecessary to explicitly ask to be copied on replies to your postings.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M§hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj· h²hh³hÃh´Nubj÷)�”}”(hŒ¤Search the list archives (and the net as a whole) before asking questions. Some developers can get impatient with people who clearly have not done their homework. ”h]”hÚ)�”}”(hŒ£Search the list archives (and the net as a whole) before asking questions. Some developers can get impatient with people who clearly have not done their homework.”h]”hŒ£Search the list archives (and the net as a whole) before asking questions. Some developers can get impatient with people who clearly have not done their homework.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M®hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj· h²hh³hÃh´Nubj÷)�”}”(hXUse interleaved ("inline") replies, which makes your response easier to read. (i.e. avoid top-posting -- the practice of putting your answer above the quoted text you are responding to.) For more details, see :ref:`Documentation/process/submitting-patches.rst `. ”h]”hÚ)�”}”(hXUse interleaved ("inline") replies, which makes your response easier to read. (i.e. avoid top-posting -- the practice of putting your answer above the quoted text you are responding to.) For more details, see :ref:`Documentation/process/submitting-patches.rst `.”h]”(hŒÕUse interleaved (“inlineâ€�) replies, which makes your response easier to read. (i.e. avoid top-posting -- the practice of putting your answer above the quoted text you are responding to.) For more details, see ”…”�”}”(hj6 h²hh³Nh´Nubh)�”}”(hŒI:ref:`Documentation/process/submitting-patches.rst `”h]”hŒinline”“”)�”}”(hj@ h]”hŒ,Documentation/process/submitting-patches.rst”…”�”}”(hjD h²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jB hj> ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jO Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆŒ reftarget”Œinterleaved_replies”uh1hh³hÃh´M²hj6 ubhŒ.”…”�”}”(hj6 h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M²hj2 ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj· h²hh³hÃh´Nubj÷)�”}”(hŒ–Ask on the correct mailing list. Linux-kernel may be the general meeting point, but it is not the best place to find developers from all subsystems. ”h]”hÚ)�”}”(hŒ•Ask on the correct mailing list. Linux-kernel may be the general meeting point, but it is not the best place to find developers from all subsystems.”h]”hŒ•Ask on the correct mailing list. Linux-kernel may be the general meeting point, but it is not the best place to find developers from all subsystems.”…”�”}”(hjv h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M·hjr ubah}”(h]”h ]”h"]”h$]”h&]”uh1jöhj· h²hh³hÃh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jFjGuh1jñh³hÃh´Mšhj> h²hubhÚ)�”}”(hXõThe last point - finding the correct mailing list - is a common place for beginning developers to go wrong. Somebody who asks a networking-related question on linux-kernel will almost certainly receive a polite suggestion to ask on the netdev list instead, as that is the list frequented by most networking developers. Other lists exist for the SCSI, video4linux, IDE, filesystem, etc. subsystems. The best place to look for mailing lists is in the MAINTAINERS file packaged with the kernel source.”h]”hXõThe last point - finding the correct mailing list - is a common place for beginning developers to go wrong. Somebody who asks a networking-related question on linux-kernel will almost certainly receive a polite suggestion to ask on the netdev list instead, as that is the list frequented by most networking developers. Other lists exist for the SCSI, video4linux, IDE, filesystem, etc. subsystems. The best place to look for mailing lists is in the MAINTAINERS file packaged with the kernel source.”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M»hj> h²hubeh}”(h]”Œ mailing-lists”ah ]”h"]”Œ mailing lists”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´MubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ'Getting started with Kernel development”h]”hŒ'Getting started with Kernel development”…”�”}”(hj© h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj¦ h²hh³hÃh´MÅubhÚ)�”}”(hŒÜQuestions about how to get started with the kernel development process are common - from both individuals and companies. Equally common are missteps which make the beginning of the relationship harder than it has to be.”h]”hŒÜQuestions about how to get started with the kernel development process are common - from both individuals and companies. Equally common are missteps which make the beginning of the relationship harder than it has to be.”…”�”}”(hj· h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÇhj¦ h²hubhÚ)�”}”(hXLCompanies often look to hire well-known developers to get a development group started. This can, in fact, be an effective technique. But it also tends to be expensive and does not do much to grow the pool of experienced kernel developers. It is possible to bring in-house developers up to speed on Linux kernel development, given the investment of a bit of time. Taking this time can endow an employer with a group of developers who understand the kernel and the company both, and who can help to train others as well. Over the medium term, this is often the more profitable approach.”h]”hXLCompanies often look to hire well-known developers to get a development group started. This can, in fact, be an effective technique. But it also tends to be expensive and does not do much to grow the pool of experienced kernel developers. It is possible to bring in-house developers up to speed on Linux kernel development, given the investment of a bit of time. Taking this time can endow an employer with a group of developers who understand the kernel and the company both, and who can help to train others as well. Over the medium term, this is often the more profitable approach.”…”�”}”(hjÅ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MËhj¦ h²hubhÚ)�”}”(hXiIndividual developers are often, understandably, at a loss for a place to start. Beginning with a large project can be intimidating; one often wants to test the waters with something smaller first. This is the point where some developers jump into the creation of patches fixing spelling errors or minor coding style issues. Unfortunately, such patches create a level of noise which is distracting for the development community as a whole, so, increasingly, they are looked down upon. New developers wishing to introduce themselves to the community will not get the sort of reception they wish for by these means.”h]”hXiIndividual developers are often, understandably, at a loss for a place to start. Beginning with a large project can be intimidating; one often wants to test the waters with something smaller first. This is the point where some developers jump into the creation of patches fixing spelling errors or minor coding style issues. Unfortunately, such patches create a level of noise which is distracting for the development community as a whole, so, increasingly, they are looked down upon. New developers wishing to introduce themselves to the community will not get the sort of reception they wish for by these means.”…”�”}”(hjÓ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÔhj¦ h²hubhÚ)�”}”(hŒ>Andrew Morton gives this advice for aspiring kernel developers”h]”hŒ>Andrew Morton gives this advice for aspiring kernel developers”…”�”}”(hjá h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÞhj¦ h²hubhŒ literal_block”“”)�”}”(hXDThe #1 project for all kernel beginners should surely be "make sure that the kernel runs perfectly at all times on all machines which you can lay your hands on". Usually the way to do this is to work with others on getting things fixed up (this can require persistence!) but that's fine - it's a part of kernel development.”h]”hXDThe #1 project for all kernel beginners should surely be "make sure that the kernel runs perfectly at all times on all machines which you can lay your hands on". Usually the way to do this is to work with others on getting things fixed up (this can require persistence!) but that's fine - it's a part of kernel development.”…”�”}”hjñ sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jï h³hÃh´Mâhj¦ h²hubhÚ)�”}”(hŒ#(https://lwn.net/Articles/283982/).”h]”(hŒ(”…”�”}”(hj h²hh³Nh´Nubj)�”}”(hŒ https://lwn.net/Articles/283982/”h]”hŒ https://lwn.net/Articles/283982/”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j uh1jhj ubhŒ).”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mèhj¦ h²hubhÚ)�”}”(hXdIn the absence of obvious problems to fix, developers are advised to look at the current lists of regressions and open bugs in general. There is never any shortage of issues in need of fixing; by addressing these issues, developers will gain experience with the process while, at the same time, building respect with the rest of the development community.”h]”hXdIn the absence of obvious problems to fix, developers are advised to look at the current lists of regressions and open bugs in general. There is never any shortage of issues in need of fixing; by addressing these issues, developers will gain experience with the process while, at the same time, building respect with the rest of the development community.”…”�”}”(hj" h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mêhj¦ h²hubeh}”(h]”Œ'getting-started-with-kernel-development”ah ]”h"]”Œ'getting started with kernel development”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´MÅubeh}”(h]”(Œ!how-the-development-process-works”hÂeh ]”h"]”(Œ!how the development process works”Œdevelopment_process”eh$]”h&]”uh1hÄhhh²hh³hÃh´KŒexpect_referenced_by_name”}”j> h·sŒexpect_referenced_by_id”}”hÂh·subeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÃuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hÉNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”jöŒfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jg Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÃŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œ1”]”jasŒrefids”}”hÂ]”h·asŒnameids”}”(j> hÂj= j: j¯j¬j8j5jojjÝjÚjJjGj j jL jI j; j8 j£ j  j5 j2 uŒ nametypes”}”(j> ˆj= ‰j¯‰j8ˆjoˆj݉jJ‰j ‰jL ‰j; ‰j£ ‰j5 ‰uh}”(hÂhÆj: hÆj¬héjjj5j/jjIjÚj²jGjàj jMjI j j8 jO j  j> j2 j¦ uŒ footnote_refs”}”j§ ]”jasŒ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”jIaŒ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”ju Ks…”R”Œparse_messages”]”(hŒsystem_message”“”)�”}”(hhh]”hÚ)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hjÒ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙhjÏ ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œline”KxŒsource”hÃuh1jÍ hjÚubjÎ )�”}”(hhh]”hÚ)�”}”(hŒeUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.”h]”hŒgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.”…”�”}”(hjî h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙhjë ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jè Œline”KxŒsource”hÃuh1jÍ hjñubeŒtransform_messages”]”jÎ )�”}”(hhh]”hÚ)�”}”(hhh]”hŒ9Hyperlink target "development-process" is not referenced.”…”�”}”hj sbah}”(h]”h ]”h"]”h$]”h&]”uh1hÙhj ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jè Œsource”hÃŒline”Kuh1jÍ ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.