€•Œ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/howto”Œ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/howto”Œ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/howto”Œ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/howto”Œ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/howto”Œ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/howto”Œ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/howto”Œ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Œ.. _process_howto:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ process-howto”uh1hµh´Khhh²hh³Œ;/var/lib/git/docbuild/linux/Documentation/process/howto.rst”ubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ!HOWTO do Linux kernel development”h]”hŒ!HOWTO do Linux kernel development”…”�”}”(hhËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhhÆh²hh³hÃh´KubhŒ paragraph”“”)�”}”(hXPThis is the be-all, end-all document on this topic. It contains instructions on how to become a Linux kernel developer and how to learn to work with the Linux kernel development community. It tries to not contain anything related to the technical aspects of kernel programming, but will help point you in the right direction for that.”h]”hXPThis is the be-all, end-all document on this topic. It contains instructions on how to become a Linux kernel developer and how to learn to work with the Linux kernel development community. It tries to not contain anything related to the technical aspects of kernel programming, but will help point you in the right direction for that.”…”�”}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KhhÆh²hubhÚ)�”}”(hŒ•If anything in this document becomes out of date, please send in patches to the maintainer of this file, who is listed at the bottom of the document.”h]”hŒ•If anything in this document becomes out of date, please send in patches to the maintainer of this file, who is listed at the bottom of the document.”…”�”}”(hhéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K hhÆh²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Introduction”h]”hŒ Introduction”…”�”}”(hhúh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhh÷h²hh³hÃh´KubhÚ)�”}”(hX˜So, you want to learn how to become a Linux kernel developer? Or you have been told by your manager, "Go write a Linux driver for this device." This document's goal is to teach you everything you need to know to achieve this by describing the process you need to go through, and hints on how to work with the community. It will also try to explain some of the reasons why the community works like it does.”h]”hXžSo, you want to learn how to become a Linux kernel developer? Or you have been told by your manager, “Go write a Linux driver for this device.â€� This document’s goal is to teach you everything you need to know to achieve this by describing the process you need to go through, and hints on how to work with the community. It will also try to explain some of the reasons why the community works like it does.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Khh÷h²hubhÚ)�”}”(hX¡The kernel is written mostly in C, with some architecture-dependent parts written in assembly. A good understanding of C is required for kernel development. Assembly (any architecture) is not required unless you plan to do low-level development for that architecture. Though they are not a good substitute for a solid C education and/or years of experience, the following books are good for, if anything, reference:”h]”hX¡The kernel is written mostly in C, with some architecture-dependent parts written in assembly. A good understanding of C is required for kernel development. Assembly (any architecture) is not required unless you plan to do low-level development for that architecture. Though they are not a good substitute for a solid C education and/or years of experience, the following books are good for, if anything, reference:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Khh÷h²hubhŒ block_quote”“”)�”}”(hŒÃ- "The C Programming Language" by Kernighan and Ritchie [Prentice Hall] - "Practical C Programming" by Steve Oualline [O'Reilly] - "C: A Reference Manual" by Harbison and Steele [Prentice Hall] ”h]”hŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hŒE"The C Programming Language" by Kernighan and Ritchie [Prentice Hall]”h]”hÚ)�”}”(hj3h]”hŒI“The C Programming Languageâ€� by Kernighan and Ritchie [Prentice Hall]”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K"hj1ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj,ubj0)�”}”(hŒ6"Practical C Programming" by Steve Oualline [O'Reilly]”h]”hÚ)�”}”(hjJh]”hŒ<“Practical C Programmingâ€� by Steve Oualline [O’Reilly]”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K#hjHubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj,ubj0)�”}”(hŒ@"C: A Reference Manual" by Harbison and Steele [Prentice Hall] ”h]”hÚ)�”}”(hŒ?"C: A Reference Manual" by Harbison and Steele [Prentice Hall]”h]”hŒC“C: A Reference Manualâ€� by Harbison and Steele [Prentice Hall]”…”�”}”(hjch²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"hh÷h²hubhÚ)�”}”(hX‚The kernel is written using GNU C and the GNU toolchain. While it adheres to the ISO C11 standard, it uses a number of extensions that are not featured in the standard. The kernel is a freestanding C environment, with no reliance on the standard C library, so some portions of the C standard are not supported. Arbitrary long long divisions and floating point are not allowed. It can sometimes be difficult to understand the assumptions the kernel has on the toolchain and the extensions that it uses, and unfortunately there is no definitive reference for them. Please check the gcc info pages (`info gcc`) for some information on them.”h]”(hXYThe kernel is written using GNU C and the GNU toolchain. While it adheres to the ISO C11 standard, it uses a number of extensions that are not featured in the standard. The kernel is a freestanding C environment, with no reliance on the standard C library, so some portions of the C standard are not supported. Arbitrary long long divisions and floating point are not allowed. It can sometimes be difficult to understand the assumptions the kernel has on the toolchain and the extensions that it uses, and unfortunately there is no definitive reference for them. Please check the gcc info pages (”…”�”}”(hj…h²hh³Nh´NubhŒtitle_reference”“”)�”}”(hŒ `info gcc`”h]”hŒinfo gcc”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj…ubhŒ) for some information on them.”…”�”}”(hj…h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K&hh÷h²hubhÚ)�”}”(hXôPlease remember that you are trying to learn how to work with the existing development community. It is a diverse group of people, with high standards for coding, style and procedure. These standards have been created over time based on what they have found to work best for such a large and geographically dispersed team. Try to learn as much as possible about these standards ahead of time, as they are well documented; do not expect people to adapt to you or your company's way of doing things.”h]”hXöPlease remember that you are trying to learn how to work with the existing development community. It is a diverse group of people, with high standards for coding, style and procedure. These standards have been created over time based on what they have found to work best for such a large and geographically dispersed team. Try to learn as much as possible about these standards ahead of time, as they are well documented; do not expect people to adapt to you or your company’s way of doing things.”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K1hh÷h²hubeh}”(h]”Œ introduction”ah ]”h"]”Œ introduction”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Legal Issues”h]”hŒ Legal Issues”…”�”}”(hjÀh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj½h²hh³hÃh´K`_ identifiers in source code are described in :ref:`Documentation/process/license-rules.rst `. If you have further questions about the license, please contact a lawyer, and do not ask on the Linux kernel mailing list. The people on the mailing lists are not lawyers, and you should not rely on their statements on legal matters.”h]”(hŒ¯The Linux kernel source code is released under the GPL. Please see the file COPYING in the main directory of the source tree. The Linux kernel licensing rules and how to use ”…”�”}”(hjÎh²hh³Nh´NubhŒ reference”“”)�”}”(hŒ`SPDX `_”h]”hŒSPDX”…”�”}”(hjØh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œname”ŒSPDX”Œrefuri”Œhttps://spdx.org/”uh1jÖhjÎubh¶)�”}”(hŒ ”h]”h}”(h]”Œspdx”ah ]”h"]”Œspdx”ah$]”h&]”Œrefuri”jéuh1hµŒ referenced”KhjÎubhŒ- identifiers in source code are described in ”…”�”}”(hjÎh²hh³Nh´Nubh)�”}”(hŒA:ref:`Documentation/process/license-rules.rst `”h]”hŒinline”“”)�”}”(hjþh]”hŒ'Documentation/process/license-rules.rst”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjüubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ process/howto”Œ refdomain”j Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆŒ reftarget”Œkernel_licensing”uh1hh³hÃh´K>hjÎubhŒì. If you have further questions about the license, please contact a lawyer, and do not ask on the Linux kernel mailing list. The people on the mailing lists are not lawyers, and you should not rely on their statements on legal matters.”…”�”}”(hjÎh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K>hj½h²hubhÚ)�”}”(hŒ;For common questions and answers about the GPL, please see:”h]”hŒ;For common questions and answers about the GPL, please see:”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KFhj½h²hubj%)�”}”(hŒ+https://www.gnu.org/licenses/gpl-faq.html ”h]”hÚ)�”}”(hŒ)https://www.gnu.org/licenses/gpl-faq.html”h]”j×)�”}”(hj?h]”hŒ)https://www.gnu.org/licenses/gpl-faq.html”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j?uh1jÖhj=ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KHhj9ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´KHhj½h²hubeh}”(h]”Œ legal-issues”ah ]”h"]”Œ legal issues”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´K` This file gives a short background on the Linux kernel and describes what is necessary to do to configure and build the kernel. People who are new to the kernel should start here. :ref:`Documentation/process/changes.rst ` This file gives a list of the minimum levels of various software packages that are necessary to build and run the kernel successfully. :ref:`Documentation/process/coding-style.rst ` This describes the Linux kernel coding style, and some of the rationale behind it. All new code is expected to follow the guidelines in this document. Most maintainers will only accept patches if these rules are followed, and many people will only review code if it is in the proper style. :ref:`Documentation/process/submitting-patches.rst ` This file describes in explicit detail how to successfully create and send a patch, including (but not limited to): - Email contents - Email format - Who to send it to Following these rules will not guarantee success (as all patches are subject to scrutiny for content and style), but not following them will almost always prevent it. Other excellent descriptions of how to create patches properly are: "The Perfect Patch" https://www.ozlabs.org/~akpm/stuff/tpp.txt "Linux kernel patch submission format" https://web.archive.org/web/20180829112450/http://linux.yyz.us/patch-format.html :ref:`Documentation/process/stable-api-nonsense.rst ` This file describes the rationale behind the conscious decision to not have a stable API within the kernel, including things like: - Subsystem shim-layers (for compatibility?) - Driver portability between Operating Systems. - Mitigating rapid change within the kernel source tree (or preventing rapid change) This document is crucial for understanding the Linux development philosophy and is very important for people moving to Linux from development on other Operating Systems. :ref:`Documentation/process/security-bugs.rst ` If you feel you have found a security problem in the Linux kernel, please follow the steps in this document to help notify the kernel developers, and help solve the issue. :ref:`Documentation/process/management-style.rst ` This document describes how Linux kernel maintainers operate and the shared ethos behind their methodologies. This is important reading for anyone new to kernel development (or anyone simply curious about it), as it resolves a lot of common misconceptions and confusion about the unique behavior of kernel maintainers. :ref:`Documentation/process/stable-kernel-rules.rst ` This file describes the rules on how the stable kernel releases happen, and what to do if you want to get a change into one of these releases. :ref:`Documentation/process/kernel-docs.rst ` A list of external documentation that pertains to kernel development. Please consult this list if you do not find what you are looking for within the in-kernel documentation. :ref:`Documentation/process/applying-patches.rst ` A good introduction describing exactly what a patch is and how to apply it to the different development branches of the kernel. ”h]”hŒdefinition_list”“”)�”}”(hhh]”(hŒdefinition_list_item”“”)�”}”(hŒê:ref:`Documentation/admin-guide/README.rst ` This file gives a short background on the Linux kernel and describes what is necessary to do to configure and build the kernel. People who are new to the kernel should start here. ”h]”(hŒterm”“”)�”}”(hŒ4:ref:`Documentation/admin-guide/README.rst `”h]”h)�”}”(hjËh]”j)�”}”(hjËh]”hŒ$Documentation/admin-guide/README.rst”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjÍubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jÚŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒreadme”uh1hh³hÃh´K]hjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´K]hjÃubhŒ definition”“”)�”}”(hhh]”hÚ)�”}”(hŒ´This file gives a short background on the Linux kernel and describes what is necessary to do to configure and build the kernel. People who are new to the kernel should start here.”h]”hŒ´This file gives a short background on the Linux kernel and describes what is necessary to do to configure and build the kernel. People who are new to the kernel should start here.”…”�”}”(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&]”uh1jÁh³hÃh´K]hj¾ubjÂ)�”}”(hŒº:ref:`Documentation/process/changes.rst ` This file gives a list of the minimum levels of various software packages that are necessary to build and run the kernel successfully. ”h]”(jÈ)�”}”(hŒ2:ref:`Documentation/process/changes.rst `”h]”h)�”}”(hjh]”j)�”}”(hjh]”hŒ!Documentation/process/changes.rst”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j&Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒchanges”uh1hh³hÃh´Kbhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´Kbhjubjó)�”}”(hhh]”hÚ)�”}”(hŒ†This file gives a list of the minimum levels of various software packages that are necessary to build and run the kernel successfully.”h]”hŒ†This file gives a list of the minimum levels of various software packages that are necessary to build and run the kernel successfully.”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K`hj>ubah}”(h]”h ]”h"]”h$]”h&]”uh1jòhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÃh´Kbhj¾ubjÂ)�”}”(hX^:ref:`Documentation/process/coding-style.rst ` This describes the Linux kernel coding style, and some of the rationale behind it. All new code is expected to follow the guidelines in this document. Most maintainers will only accept patches if these rules are followed, and many people will only review code if it is in the proper style. ”h]”(jÈ)�”}”(hŒ;:ref:`Documentation/process/coding-style.rst `”h]”h)�”}”(hjah]”j)�”}”(hjah]”hŒ&Documentation/process/coding-style.rst”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjcubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jpŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒ codingstyle”uh1hh³hÃh´Kihj_ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´Kihj[ubjó)�”}”(hhh]”hÚ)�”}”(hX!This describes the Linux kernel coding style, and some of the rationale behind it. All new code is expected to follow the guidelines in this document. Most maintainers will only accept patches if these rules are followed, and many people will only review code if it is in the proper style.”h]”hX!This describes the Linux kernel coding style, and some of the rationale behind it. All new code is expected to follow the guidelines in this document. Most maintainers will only accept patches if these rules are followed, and many people will only review code if it is in the proper style.”…”�”}”(hj‹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kehjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1jòhj[ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÃh´Kihj¾ubjÂ)�”}”(hXÀ:ref:`Documentation/process/submitting-patches.rst ` This file describes in explicit detail how to successfully create and send a patch, including (but not limited to): - Email contents - Email format - Who to send it to Following these rules will not guarantee success (as all patches are subject to scrutiny for content and style), but not following them will almost always prevent it. Other excellent descriptions of how to create patches properly are: "The Perfect Patch" https://www.ozlabs.org/~akpm/stuff/tpp.txt "Linux kernel patch submission format" https://web.archive.org/web/20180829112450/http://linux.yyz.us/patch-format.html ”h]”(jÈ)�”}”(hŒG:ref:`Documentation/process/submitting-patches.rst `”h]”h)�”}”(hj«h]”j)�”}”(hj«h]”hŒ,Documentation/process/submitting-patches.rst”…”�”}”(hj°h²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhj­ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jºŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒsubmittingpatches”uh1hh³hÃh´K}hj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´K}hj¥ubjó)�”}”(hhh]”(hÚ)�”}”(hŒsThis file describes in explicit detail how to successfully create and send a patch, including (but not limited to):”h]”hŒsThis file describes in explicit detail how to successfully create and send a patch, including (but not limited to):”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KlhjÒubj%)�”}”(hŒ4- Email contents - Email format - Who to send it to ”h]”j+)�”}”(hhh]”(j0)�”}”(hŒEmail contents”h]”hÚ)�”}”(hjìh]”hŒEmail contents”…”�”}”(hjîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kohjêubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjçubj0)�”}”(hŒ Email format”h]”hÚ)�”}”(hjh]”hŒ Email format”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kphjubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjçubj0)�”}”(hŒWho to send it to ”h]”hÚ)�”}”(hŒWho to send it to”h]”hŒWho to send it to”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kqhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjçubeh}”(h]”h ]”h"]”h$]”h&]”j}j~uh1j*h³hÃh´Kohjãubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´KohjÒubhÚ)�”}”(hŒ¦Following these rules will not guarantee success (as all patches are subject to scrutiny for content and style), but not following them will almost always prevent it.”h]”hŒ¦Following these rules will not guarantee success (as all patches are subject to scrutiny for content and style), but not following them will almost always prevent it.”…”�”}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KshjÒubhÚ)�”}”(hŒCOther excellent descriptions of how to create patches properly are:”h]”hŒCOther excellent descriptions of how to create patches properly are:”…”�”}”(hjJh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KwhjÒubj%)�”}”(hŒÈ"The Perfect Patch" https://www.ozlabs.org/~akpm/stuff/tpp.txt "Linux kernel patch submission format" https://web.archive.org/web/20180829112450/http://linux.yyz.us/patch-format.html ”h]”j½)�”}”(hhh]”(jÂ)�”}”(hŒ?"The Perfect Patch" https://www.ozlabs.org/~akpm/stuff/tpp.txt ”h]”(jÈ)�”}”(hŒ"The Perfect Patch"”h]”hŒ“The Perfect Patchâ€�”…”�”}”(hjch²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´Kzhj_ubjó)�”}”(hhh]”hÚ)�”}”(hŒ*https://www.ozlabs.org/~akpm/stuff/tpp.txt”h]”j×)�”}”(hjvh]”hŒ*https://www.ozlabs.org/~akpm/stuff/tpp.txt”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jvuh1jÖhjtubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kzhjqubah}”(h]”h ]”h"]”h$]”h&]”uh1jòhj_ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÃh´Kzhj\ubjÂ)�”}”(hŒx"Linux kernel patch submission format" https://web.archive.org/web/20180829112450/http://linux.yyz.us/patch-format.html ”h]”(jÈ)�”}”(hŒ&"Linux kernel patch submission format"”h]”hŒ*“Linux kernel patch submission formatâ€�”…”�”}”(hjœh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´K}hj˜ubjó)�”}”(hhh]”hÚ)�”}”(hŒPhttps://web.archive.org/web/20180829112450/http://linux.yyz.us/patch-format.html”h]”j×)�”}”(hj¯h]”hŒPhttps://web.archive.org/web/20180829112450/http://linux.yyz.us/patch-format.html”…”�”}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j¯uh1jÖhj­ubah}”(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&]”uh1jÁh³hÃh´K}hj\ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¼hjXubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´KyhjÒubeh}”(h]”h ]”h"]”h$]”h&]”uh1jòhj¥ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÃh´K}hj¾ubjÂ)�”}”(hX6:ref:`Documentation/process/stable-api-nonsense.rst ` This file describes the rationale behind the conscious decision to not have a stable API within the kernel, including things like: - Subsystem shim-layers (for compatibility?) - Driver portability between Operating Systems. - Mitigating rapid change within the kernel source tree (or preventing rapid change) This document is crucial for understanding the Linux development philosophy and is very important for people moving to Linux from development on other Operating Systems. ”h]”(jÈ)�”}”(hŒJ:ref:`Documentation/process/stable-api-nonsense.rst `”h]”h)�”}”(hjïh]”j)�”}”(hjïh]”hŒ-Documentation/process/stable-api-nonsense.rst”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjñubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jþŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒstable_api_nonsense”uh1hh³hÃh´KŠhjíubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´KŠhjéubjó)�”}”(hhh]”(hÚ)�”}”(hŒ‚This file describes the rationale behind the conscious decision to not have a stable API within the kernel, including things like:”h]”hŒ‚This file describes the rationale behind the conscious decision to not have a stable API within the kernel, including things like:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K€hjubj%)�”}”(hŒ´- Subsystem shim-layers (for compatibility?) - Driver portability between Operating Systems. - Mitigating rapid change within the kernel source tree (or preventing rapid change) ”h]”j+)�”}”(hhh]”(j0)�”}”(hŒ*Subsystem shim-layers (for compatibility?)”h]”hÚ)�”}”(hj0h]”hŒ*Subsystem shim-layers (for compatibility?)”…”�”}”(hj2h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kƒhj.ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj+ubj0)�”}”(hŒ-Driver portability between Operating Systems.”h]”hÚ)�”}”(hjGh]”hŒ-Driver portability between Operating Systems.”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K„hjEubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj+ubj0)�”}”(hŒSMitigating rapid change within the kernel source tree (or preventing rapid change) ”h]”hÚ)�”}”(hŒRMitigating rapid change within the kernel source tree (or preventing rapid change)”h]”hŒRMitigating rapid change within the kernel source tree (or preventing rapid change)”…”�”}”(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&]”j}j~uh1j*h³hÃh´Kƒhj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´KƒhjubhÚ)�”}”(hŒ©This document is crucial for understanding the Linux development philosophy and is very important for people moving to Linux from development on other Operating Systems.”h]”hŒ©This document is crucial for understanding the Linux development philosophy and is very important for people moving to Linux from development on other Operating Systems.”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kˆhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jòhjéubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÃh´KŠhj¾ubjÂ)�”}”(hŒê:ref:`Documentation/process/security-bugs.rst ` If you feel you have found a security problem in the Linux kernel, please follow the steps in this document to help notify the kernel developers, and help solve the issue. ”h]”(jÈ)�”}”(hŒ=:ref:`Documentation/process/security-bugs.rst `”h]”h)�”}”(hj h]”j)�”}”(hj h]”hŒ'Documentation/process/security-bugs.rst”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhj¢ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j¯Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒ securitybugs”uh1hh³hÃh´K�hjžubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´K�hjšubjó)�”}”(hhh]”hÚ)�”}”(hŒ«If you feel you have found a security problem in the Linux kernel, please follow the steps in this document to help notify the kernel developers, and help solve the issue.”h]”hŒ«If you feel you have found a security problem in the Linux kernel, please follow the steps in this document to help notify the kernel developers, and help solve the issue.”…”�”}”(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&]”uh1jÁh³hÃh´K�hj¾ubjÂ)�”}”(hX„:ref:`Documentation/process/management-style.rst ` This document describes how Linux kernel maintainers operate and the shared ethos behind their methodologies. This is important reading for anyone new to kernel development (or anyone simply curious about it), as it resolves a lot of common misconceptions and confusion about the unique behavior of kernel maintainers. ”h]”(jÈ)�”}”(hŒC:ref:`Documentation/process/management-style.rst `”h]”h)�”}”(hjêh]”j)�”}”(hjêh]”hŒ*Documentation/process/management-style.rst”…”�”}”(hjïh²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjìubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jùŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒmanagementstyle”uh1hh³hÃh´K–hjèubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´K–hjäubjó)�”}”(hhh]”hÚ)�”}”(hX?This document describes how Linux kernel maintainers operate and the shared ethos behind their methodologies. This is important reading for anyone new to kernel development (or anyone simply curious about it), as it resolves a lot of common misconceptions and confusion about the unique behavior of kernel maintainers.”h]”hX?This document describes how Linux kernel maintainers operate and the shared ethos behind their methodologies. This is important reading for anyone new to kernel development (or anyone simply curious about it), as it resolves a lot of common misconceptions and confusion about the unique behavior of kernel maintainers.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K’hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jòhjäubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÃh´K–hj¾ubjÂ)�”}”(hŒÚ:ref:`Documentation/process/stable-kernel-rules.rst ` This file describes the rules on how the stable kernel releases happen, and what to do if you want to get a change into one of these releases. ”h]”(jÈ)�”}”(hŒJ:ref:`Documentation/process/stable-kernel-rules.rst `”h]”h)�”}”(hj4h]”j)�”}”(hj4h]”hŒ-Documentation/process/stable-kernel-rules.rst”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhj6ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jCŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒstable_kernel_rules”uh1hh³hÃh´K›hj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´K›hj.ubjó)�”}”(hhh]”hÚ)�”}”(hŒŽThis file describes the rules on how the stable kernel releases happen, and what to do if you want to get a change into one of these releases.”h]”hŒŽThis file describes the rules on how the stable kernel releases happen, and what to do if you want to get a change into one of these releases.”…”�”}”(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&]”uh1jÁh³hÃh´K›hj¾ubjÂ)�”}”(hŒë:ref:`Documentation/process/kernel-docs.rst ` A list of external documentation that pertains to kernel development. Please consult this list if you do not find what you are looking for within the in-kernel documentation. ”h]”(jÈ)�”}”(hŒ::ref:`Documentation/process/kernel-docs.rst `”h]”h)�”}”(hj~h]”j)�”}”(hj~h]”hŒ%Documentation/process/kernel-docs.rst”…”�”}”(hjƒh²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhj€ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j�Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒ kernel_docs”uh1hh³hÃh´K hj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´K hjxubjó)�”}”(hhh]”hÚ)�”}”(hŒ¯A list of external documentation that pertains to kernel development. Please consult this list if you do not find what you are looking for within the in-kernel documentation.”h]”hŒ¯A list of external documentation that pertains to kernel development. Please consult this list if you do not find what you are looking for within the in-kernel documentation.”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kžhj¥ubah}”(h]”h ]”h"]”h$]”h&]”uh1jòhjxubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÃh´K hj¾ubjÂ)�”}”(hŒÅ:ref:`Documentation/process/applying-patches.rst ` A good introduction describing exactly what a patch is and how to apply it to the different development branches of the kernel. ”h]”(jÈ)�”}”(hŒD:ref:`Documentation/process/applying-patches.rst `”h]”h)�”}”(hjÈh]”j)�”}”(hjÈh]”hŒ*Documentation/process/applying-patches.rst”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjÊubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j׌reftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒapplying_patches”uh1hh³hÃh´K¤hjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´K¤hjÂubjó)�”}”(hhh]”hÚ)�”}”(hŒA good introduction describing exactly what a patch is and how to apply it to the different development branches of the kernel.”h]”hŒA good introduction describing exactly what a patch is and how to apply it to the different development branches of the kernel.”…”�”}”(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&]”uh1jÁh³hÃh´K¤hj¾ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¼hj¸ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´KZhjch²hubhÚ)�”}”(hX The kernel also has a large number of documents that can be automatically generated from the source code itself or from ReStructuredText markups (ReST), like this one. This includes a full description of the in-kernel API, and rules on how to handle locking properly.”h]”hX The kernel also has a large number of documents that can be automatically generated from the source code itself or from ReStructuredText markups (ReST), like this one. This includes a full description of the in-kernel API, and rules on how to handle locking properly.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K¦hjch²hubhÚ)�”}”(hŒ?All such documents can be generated as PDF or HTML by running::”h]”hŒ>All such documents can be generated as PDF or HTML by running:”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K¬hjch²hubhŒ literal_block”“”)�”}”(hŒmake pdfdocs make htmldocs”h]”hŒmake pdfdocs make htmldocs”…”�”}”hj6sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1j4h³hÃh´K®hjch²hubhÚ)�”}”(hŒ3respectively from the main kernel source directory.”h]”hŒ3respectively from the main kernel source directory.”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K±hjch²hubhÚ)�”}”(hŒŠThe documents that uses ReST markup will be generated at Documentation/output. They can also be generated on LaTeX and ePub formats with::”h]”hŒ‰The documents that uses ReST markup will be generated at Documentation/output. They can also be generated on LaTeX and ePub formats with:”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K³hjch²hubj5)�”}”(hŒmake latexdocs make epubdocs”h]”hŒmake latexdocs make epubdocs”…”�”}”hjbsbah}”(h]”h ]”h"]”h$]”h&]”jDjEuh1j4h³hÃh´K¶hjch²hubeh}”(h]”Œ documentation”ah ]”h"]”Œ documentation”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KLubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒBecoming A Kernel Developer”h]”hŒBecoming A Kernel Developer”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjxh²hh³hÃh´KºubhÚ)�”}”(hŒoIf you do not know anything about Linux kernel development, you should look at the Linux KernelNewbies project:”h]”hŒoIf you do not know anything about Linux kernel development, you should look at the Linux KernelNewbies project:”…”�”}”(hj‰h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K¼hjxh²hubj%)�”}”(hŒhttps://kernelnewbies.org ”h]”hÚ)�”}”(hŒhttps://kernelnewbies.org”h]”j×)�”}”(hj�h]”hŒhttps://kernelnewbies.org”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j�uh1jÖhj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K¿hj—ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´K¿hjxh²hubhÚ)�”}”(hX…It consists of a helpful mailing list where you can ask almost any type of basic kernel development question (make sure to search the archives first, before asking something that has already been answered in the past.) It also has an IRC channel that you can use to ask questions in real-time, and a lot of helpful documentation that is useful for learning about Linux kernel development.”h]”hX…It consists of a helpful mailing list where you can ask almost any type of basic kernel development question (make sure to search the archives first, before asking something that has already been answered in the past.) It also has an IRC channel that you can use to ask questions in real-time, and a lot of helpful documentation that is useful for learning about Linux kernel development.”…”�”}”(hj¹h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÁhjxh²hubhÚ)�”}”(hŒàThe website has basic information about code organization, subsystems, and current projects (both in-tree and out-of-tree). It also describes some basic logistical information, like how to compile a kernel and apply a patch.”h]”hŒàThe website has basic information about code organization, subsystems, and current projects (both in-tree and out-of-tree). It also describes some basic logistical information, like how to compile a kernel and apply a patch.”…”�”}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÈhjxh²hubhÚ)�”}”(hŒ¶If you do not know where you want to start, but you want to look for some task to start doing to join into the kernel development community, go to the Linux Kernel Janitor's project:”h]”hŒ¸If you do not know where you want to start, but you want to look for some task to start doing to join into the kernel development community, go to the Linux Kernel Janitor’s project:”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÍhjxh²hubj%)�”}”(hŒ)https://kernelnewbies.org/KernelJanitors ”h]”hÚ)�”}”(hŒ(https://kernelnewbies.org/KernelJanitors”h]”j×)�”}”(hjéh]”hŒ(https://kernelnewbies.org/KernelJanitors”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jéuh1jÖhjçubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÑhjãubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´KÑhjxh²hubhÚ)�”}”(hX‡It is a great place to start. It describes a list of relatively simple problems that need to be cleaned up and fixed within the Linux kernel source tree. Working with the developers in charge of this project, you will learn the basics of getting your patch into the Linux kernel tree, and possibly be pointed in the direction of what to go work on next, if you do not already have an idea.”h]”hX‡It is a great place to start. It describes a list of relatively simple problems that need to be cleaned up and fixed within the Linux kernel source tree. Working with the developers in charge of this project, you will learn the basics of getting your patch into the Linux kernel tree, and possibly be pointed in the direction of what to go work on next, if you do not already have an idea.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÓhjxh²hubhÚ)�”}”(hXBefore making any actual modifications to the Linux kernel code, it is imperative to understand how the code in question works. For this purpose, nothing is better than reading through it directly (most tricky bits are commented well), perhaps even with the help of specialized tools. One such tool that is particularly recommended is the Linux Cross-Reference project, which is able to present source code in a self-referential, indexed webpage format. An excellent up-to-date repository of the kernel code may be found at:”h]”hXBefore making any actual modifications to the Linux kernel code, it is imperative to understand how the code in question works. For this purpose, nothing is better than reading through it directly (most tricky bits are commented well), perhaps even with the help of specialized tools. One such tool that is particularly recommended is the Linux Cross-Reference project, which is able to present source code in a self-referential, indexed webpage format. An excellent up-to-date repository of the kernel code may be found at:”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KÚhjxh²hubj%)�”}”(hŒhttps://elixir.bootlin.com/ ”h]”hÚ)�”}”(hŒhttps://elixir.bootlin.com/”h]”j×)�”}”(hj'h]”hŒhttps://elixir.bootlin.com/”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j'uh1jÖhj%ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kãhj!ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´Kãhjxh²hubeh}”(h]”Œbecoming-a-kernel-developer”ah ]”h"]”Œbecoming a kernel developer”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KºubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒThe development process”h]”hŒThe development process”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjKh²hh³hÃh´KçubhÚ)�”}”(hŒ¶Linux kernel development process currently consists of a few different main kernel "branches" and lots of different subsystem-specific kernel branches. These different branches are:”h]”hŒºLinux kernel development process currently consists of a few different main kernel “branchesâ€� and lots of different subsystem-specific kernel branches. These different branches are:”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KéhjKh²hubj%)�”}”(hŒŒ- Linus's mainline tree - Various stable trees with multiple major numbers - Subsystem-specific trees - linux-next integration testing tree ”h]”j+)�”}”(hhh]”(j0)�”}”(hŒLinus's mainline tree”h]”hÚ)�”}”(hjsh]”hŒLinus’s mainline tree”…”�”}”(hjuh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kíhjqubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjnubj0)�”}”(hŒ0Various stable trees with multiple major numbers”h]”hÚ)�”}”(hjŠh]”hŒ0Various stable trees with multiple major numbers”…”�”}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kîhjˆubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjnubj0)�”}”(hŒSubsystem-specific trees”h]”hÚ)�”}”(hj¡h]”hŒSubsystem-specific trees”…”�”}”(hj£h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KïhjŸubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjnubj0)�”}”(hŒ$linux-next integration testing tree ”h]”hÚ)�”}”(hŒ#linux-next integration testing tree”h]”hŒ#linux-next integration testing tree”…”�”}”(hjºh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kðhj¶ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjnubeh}”(h]”h ]”h"]”h$]”h&]”j}j~uh1j*h³hÃh´Kíhjjubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´KíhjKh²hubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Mainline tree”h]”hŒ Mainline tree”…”�”}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjÚh²hh³hÃh´KóubhÚ)�”}”(hŒ‘The mainline tree is maintained by Linus Torvalds, and can be found at https://kernel.org or in the repo. Its development process is as follows:”h]”(hŒGThe mainline tree is maintained by Linus Torvalds, and can be found at ”…”�”}”(hjëh²hh³Nh´Nubj×)�”}”(hŒhttps://kernel.org”h]”hŒhttps://kernel.org”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jõuh1jÖhjëubhŒ8 or in the repo. Its development process is as follows:”…”�”}”(hjëh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KõhjÚh²hubj%)�”}”(hXr- As soon as a new kernel is released a two week window is open, during this period of time maintainers can submit big diffs to Linus, usually the patches that have already been included in the linux-next for a few weeks. The preferred way to submit big changes is using git (the kernel's source management tool, more information can be found at https://git-scm.com/) but plain patches are also just fine. - After two weeks a -rc1 kernel is released and the focus is on making the new kernel as rock solid as possible. Most of the patches at this point should fix a regression. Bugs that have always existed are not regressions, so only push these kinds of fixes if they are important. Please note that a whole new driver (or filesystem) might be accepted after -rc1 because there is no risk of causing regressions with such a change as long as the change is self-contained and does not affect areas outside of the code that is being added. git can be used to send patches to Linus after -rc1 is released, but the patches need to also be sent to a public mailing list for review. - A new -rc is released whenever Linus deems the current git tree to be in a reasonably sane state adequate for testing. The goal is to release a new -rc kernel every week. - Process continues until the kernel is considered "ready", the process should last around 6 weeks. ”h]”j+)�”}”(hhh]”(j0)�”}”(hX”As soon as a new kernel is released a two week window is open, during this period of time maintainers can submit big diffs to Linus, usually the patches that have already been included in the linux-next for a few weeks. The preferred way to submit big changes is using git (the kernel's source management tool, more information can be found at https://git-scm.com/) but plain patches are also just fine.”h]”hÚ)�”}”(hX”As soon as a new kernel is released a two week window is open, during this period of time maintainers can submit big diffs to Linus, usually the patches that have already been included in the linux-next for a few weeks. The preferred way to submit big changes is using git (the kernel's source management tool, more information can be found at https://git-scm.com/) but plain patches are also just fine.”h]”(hX[As soon as a new kernel is released a two week window is open, during this period of time maintainers can submit big diffs to Linus, usually the patches that have already been included in the linux-next for a few weeks. The preferred way to submit big changes is using git (the kernel’s source management tool, more information can be found at ”…”�”}”(hj h²hh³Nh´Nubj×)�”}”(hŒhttps://git-scm.com/”h]”hŒhttps://git-scm.com/”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j! uh1jÖhj ubhŒ') but plain patches are also just fine.”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Køhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj ubj0)�”}”(hX¢After two weeks a -rc1 kernel is released and the focus is on making the new kernel as rock solid as possible. Most of the patches at this point should fix a regression. Bugs that have always existed are not regressions, so only push these kinds of fixes if they are important. Please note that a whole new driver (or filesystem) might be accepted after -rc1 because there is no risk of causing regressions with such a change as long as the change is self-contained and does not affect areas outside of the code that is being added. git can be used to send patches to Linus after -rc1 is released, but the patches need to also be sent to a public mailing list for review.”h]”hÚ)�”}”(hX¢After two weeks a -rc1 kernel is released and the focus is on making the new kernel as rock solid as possible. Most of the patches at this point should fix a regression. Bugs that have always existed are not regressions, so only push these kinds of fixes if they are important. Please note that a whole new driver (or filesystem) might be accepted after -rc1 because there is no risk of causing regressions with such a change as long as the change is self-contained and does not affect areas outside of the code that is being added. git can be used to send patches to Linus after -rc1 is released, but the patches need to also be sent to a public mailing list for review.”h]”hX¢After two weeks a -rc1 kernel is released and the focus is on making the new kernel as rock solid as possible. Most of the patches at this point should fix a regression. Bugs that have always existed are not regressions, so only push these kinds of fixes if they are important. Please note that a whole new driver (or filesystem) might be accepted after -rc1 because there is no risk of causing regressions with such a change as long as the change is self-contained and does not affect areas outside of the code that is being added. git can be used to send patches to Linus after -rc1 is released, but the patches need to also be sent to a public mailing list for review.”…”�”}”(hjB h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kÿhj> ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj ubj0)�”}”(hŒ«A new -rc is released whenever Linus deems the current git tree to be in a reasonably sane state adequate for testing. The goal is to release a new -rc kernel every week.”h]”hÚ)�”}”(hŒ«A new -rc is released whenever Linus deems the current git tree to be in a reasonably sane state adequate for testing. The goal is to release a new -rc kernel every week.”h]”hŒ«A new -rc is released whenever Linus deems the current git tree to be in a reasonably sane state adequate for testing. The goal is to release a new -rc kernel every week.”…”�”}”(hjZ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M hjV ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj ubj0)�”}”(hŒbProcess continues until the kernel is considered "ready", the process should last around 6 weeks. ”h]”hÚ)�”}”(hŒaProcess continues until the kernel is considered "ready", the process should last around 6 weeks.”h]”hŒeProcess continues until the kernel is considered “readyâ€�, the process should last around 6 weeks.”…”�”}”(hjr h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M hjn ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj ubeh}”(h]”h ]”h"]”h$]”h&]”j}j~uh1j*h³hÃh´Køhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´KøhjÚh²hubhÚ)�”}”(hŒgIt is worth mentioning what Andrew Morton wrote on the linux-kernel mailing list about kernel releases:”h]”hŒgIt is worth mentioning what Andrew Morton wrote on the linux-kernel mailing list about kernel releases:”…”�”}”(hj’ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjÚh²hubj%)�”}”(hŒ”*"Nobody knows when a kernel will be released, because it's released according to perceived bug status, not according to a preconceived timeline."* ”h]”hÚ)�”}”(hŒ“*"Nobody knows when a kernel will be released, because it's released according to perceived bug status, not according to a preconceived timeline."*”h]”hŒemphasis”“”)�”}”(hj¦ h]”hŒ—“Nobody knows when a kernel will be released, because it’s released according to perceived bug status, not according to a preconceived timeline.â€�”…”�”}”(hjª h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¨ hj¤ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mhj  ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´MhjÚh²hubeh}”(h]”Œ mainline-tree”ah ]”h"]”Œ mainline tree”ah$]”h&]”uh1hÄhjKh²hh³hÃh´KóubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ0Various stable trees with multiple major numbers”h]”hŒ0Various stable trees with multiple major numbers”…”�”}”(hjÎ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjË h²hh³hÃh´MubhÚ)�”}”(hX>Kernels with 3-part versions are -stable kernels. They contain relatively small and critical fixes for security problems or significant regressions discovered in a given major mainline release. Each release in a major stable series increments the third part of the version number, keeping the first two parts the same.”h]”hX>Kernels with 3-part versions are -stable kernels. They contain relatively small and critical fixes for security problems or significant regressions discovered in a given major mainline release. Each release in a major stable series increments the third part of the version number, keeping the first two parts the same.”…”�”}”(hjÜ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjË h²hubhÚ)�”}”(hŒ™This is the recommended branch for users who want the most recent stable kernel and are not interested in helping test development/experimental versions.”h]”hŒ™This is the recommended branch for users who want the most recent stable kernel and are not interested in helping test development/experimental versions.”…”�”}”(hjê h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjË h²hubhÚ)�”}”(hX2Stable trees are maintained by the "stable" team , and are released as needs dictate. The normal release period is approximately two weeks, but it can be longer if there are no pressing problems. A security-related problem, instead, can cause a release to happen almost instantly.”h]”(hŒ6Stable trees are maintained by the “stableâ€� team <”…”�”}”(hjø h²hh³Nh´Nubj×)�”}”(hŒstable@vger.kernel.org”h]”hŒstable@vger.kernel.org”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:stable@vger.kernel.org”uh1jÖhjø ubhŒê>, and are released as needs dictate. The normal release period is approximately two weeks, but it can be longer if there are no pressing problems. A security-related problem, instead, can cause a release to happen almost instantly.”…”�”}”(hjø h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M#hjË h²hubhÚ)�”}”(hŒÎThe file :ref:`Documentation/process/stable-kernel-rules.rst ` in the kernel tree documents what kinds of changes are acceptable for the -stable tree, and how the release process works.”h]”(hŒ The file ”…”�”}”(hj h²hh³Nh´Nubh)�”}”(hŒJ:ref:`Documentation/process/stable-kernel-rules.rst `”h]”j)�”}”(hj$ h]”hŒ-Documentation/process/stable-kernel-rules.rst”…”�”}”(hj& h²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhj" ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j0 Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒstable_kernel_rules”uh1hh³hÃh´M)hj ubhŒ{ in the kernel tree documents what kinds of changes are acceptable for the -stable tree, and how the release process works.”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M)hjË h²hubeh}”(h]”Œ0various-stable-trees-with-multiple-major-numbers”ah ]”h"]”Œ0various stable trees with multiple major numbers”ah$]”h&]”uh1hÄhjKh²hh³hÃh´MubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒSubsystem-specific trees”h]”hŒSubsystem-specific trees”…”�”}”(hjW h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjT h²hh³hÃh´M.ubhÚ)�”}”(hXÄThe maintainers of the various kernel subsystems --- and also many kernel subsystem developers --- expose their current state of development in source repositories. That way, others can see what is happening in the different areas of the kernel. In areas where development is rapid, a developer may be asked to base his submissions onto such a subsystem kernel tree so that conflicts between the submission and other already ongoing work are avoided.”h]”hXÄThe maintainers of the various kernel subsystems --- and also many kernel subsystem developers --- expose their current state of development in source repositories. That way, others can see what is happening in the different areas of the kernel. In areas where development is rapid, a developer may be asked to base his submissions onto such a subsystem kernel tree so that conflicts between the submission and other already ongoing work are avoided.”…”�”}”(hje h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M0hjT h²hubhÚ)�”}”(hXMost of these repositories are git trees, but there are also other SCMs in use, or patch queues being published as quilt series. Addresses of these subsystem repositories are listed in the MAINTAINERS file. Many of them can be browsed at https://git.kernel.org/.”h]”(hŒðMost of these repositories are git trees, but there are also other SCMs in use, or patch queues being published as quilt series. Addresses of these subsystem repositories are listed in the MAINTAINERS file. Many of them can be browsed at ”…”�”}”(hjs h²hh³Nh´Nubj×)�”}”(hŒhttps://git.kernel.org/”h]”hŒhttps://git.kernel.org/”…”�”}”(hj{ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j} uh1jÖhjs ubhŒ.”…”�”}”(hjs h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M8hjT h²hubhÚ)�”}”(hXúBefore a proposed patch is committed to such a subsystem tree, it is subject to review which primarily happens on mailing lists (see the respective section below). For several kernel subsystems, this review process is tracked with the tool patchwork. Patchwork offers a web interface which shows patch postings, any comments on a patch or revisions to it, and maintainers can mark patches as under review, accepted, or rejected. Most of these patchwork sites are listed at https://patchwork.kernel.org/.”h]”(hXÜBefore a proposed patch is committed to such a subsystem tree, it is subject to review which primarily happens on mailing lists (see the respective section below). For several kernel subsystems, this review process is tracked with the tool patchwork. Patchwork offers a web interface which shows patch postings, any comments on a patch or revisions to it, and maintainers can mark patches as under review, accepted, or rejected. Most of these patchwork sites are listed at ”…”�”}”(hj” h²hh³Nh´Nubj×)�”}”(hŒhttps://patchwork.kernel.org/”h]”hŒhttps://patchwork.kernel.org/”…”�”}”(hjœ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jž uh1jÖhj” ubhŒ.”…”�”}”(hj” h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M=hjT h²hubeh}”(h]”Œsubsystem-specific-trees”ah ]”h"]”Œsubsystem-specific trees”ah$]”h&]”uh1hÄhjKh²hh³hÃh´M.ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ#linux-next integration testing tree”h]”hŒ#linux-next integration testing tree”…”�”}”(hjÀ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj½ h²hh³hÃh´MGubhÚ)�”}”(hŒïBefore updates from subsystem trees are merged into the mainline tree, they need to be integration-tested. For this purpose, a special testing repository exists into which virtually all subsystem trees are pulled on an almost daily basis:”h]”hŒïBefore updates from subsystem trees are merged into the mainline tree, they need to be integration-tested. For this purpose, a special testing repository exists into which virtually all subsystem trees are pulled on an almost daily basis:”…”�”}”(hjÎ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MIhj½ h²hubj%)�”}”(hŒDhttps://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git ”h]”hÚ)�”}”(hŒChttps://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git”h]”j×)�”}”(hjâ h]”hŒChttps://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git”…”�”}”(hjä h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jâ uh1jÖhjà ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MNhjÜ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´MNhj½ h²hubhÚ)�”}”(hŒÉThis way, the linux-next gives a summary outlook onto what will be expected to go into the mainline kernel at the next merge period. Adventurous testers are very welcome to runtime-test the linux-next.”h]”hŒÉThis way, the linux-next gives a summary outlook onto what will be expected to go into the mainline kernel at the next merge period. Adventurous testers are very welcome to runtime-test the linux-next.”…”�”}”(hjþ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MPhj½ h²hubeh}”(h]”Œ#linux-next-integration-testing-tree”ah ]”h"]”Œ#linux-next integration testing tree”ah$]”h&]”uh1hÄhjKh²hh³hÃh´MGubeh}”(h]”Œthe-development-process”ah ]”h"]”Œthe development process”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´KçubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Bug Reporting”h]”hŒ Bug Reporting”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj h²hh³hÃh´MVubhÚ)�”}”(hŒôThe file 'Documentation/admin-guide/reporting-issues.rst' in the main kernel source directory describes how to report a possible kernel bug, and details what kind of information is needed by the kernel developers to help track down the problem.”h]”hŒøThe file ‘Documentation/admin-guide/reporting-issues.rst’ in the main kernel source directory describes how to report a possible kernel bug, and details what kind of information is needed by the kernel developers to help track down the problem.”…”�”}”(hj- h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MXhj h²hubeh}”(h]”Œ bug-reporting”ah ]”h"]”Œ bug reporting”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´MVubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒManaging bug reports”h]”hŒManaging bug reports”…”�”}”(hjF h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjC h²hh³hÃh´M_ubhÚ)�”}”(hX¸One of the best ways to put into practice your hacking skills is by fixing bugs reported by other people. Not only will you help to make the kernel more stable, but you'll also learn to fix real-world problems and you will improve your skills, and other developers will be aware of your presence. Fixing bugs is one of the best ways to get merits among other developers, because not many people like wasting time fixing other people's bugs.”h]”hX¼One of the best ways to put into practice your hacking skills is by fixing bugs reported by other people. Not only will you help to make the kernel more stable, but you’ll also learn to fix real-world problems and you will improve your skills, and other developers will be aware of your presence. Fixing bugs is one of the best ways to get merits among other developers, because not many people like wasting time fixing other people’s bugs.”…”�”}”(hjT h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MahjC h²hubhÚ)�”}”(hXðTo work on already reported bug reports, find a subsystem you are interested in. Check the MAINTAINERS file where bugs for that subsystem get reported to; often it will be a mailing list, rarely a bugtracker. Search the archives of said place for recent reports and help where you see fit. You may also want to check https://bugzilla.kernel.org for bug reports; only a handful of kernel subsystems use it actively for reporting or tracking, nevertheless bugs for the whole kernel get filed there.”h]”(hX=To work on already reported bug reports, find a subsystem you are interested in. Check the MAINTAINERS file where bugs for that subsystem get reported to; often it will be a mailing list, rarely a bugtracker. Search the archives of said place for recent reports and help where you see fit. You may also want to check ”…”�”}”(hjb h²hh³Nh´Nubj×)�”}”(hŒhttps://bugzilla.kernel.org”h]”hŒhttps://bugzilla.kernel.org”…”�”}”(hjj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jl uh1jÖhjb ubhŒ˜ for bug reports; only a handful of kernel subsystems use it actively for reporting or tracking, nevertheless bugs for the whole kernel get filed there.”…”�”}”(hjb h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙ•À h³hÃh´MhhjC h²hubeh}”(h]”Œmanaging-bug-reports”ah ]”h"]”Œmanaging bug reports”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´M_ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒ Mailing lists”h]”hŒ Mailing lists”…”�”}”(hjŽ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj‹ h²hh³hÃh´MrubhÚ)�”}”(hŒÍAs some of the above documents describe, the majority of the core kernel developers participate on the Linux Kernel Mailing list. Details on how to subscribe and unsubscribe from the list can be found at:”h]”hŒÍAs some of the above documents describe, the majority of the core kernel developers participate on the Linux Kernel Mailing list. Details on how to subscribe and unsubscribe from the list can be found at:”…”�”}”(hjœ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mthj‹ h²hubj%)�”}”(hŒ-https://subspace.kernel.org/subscribing.html ”h]”hÚ)�”}”(hŒ,https://subspace.kernel.org/subscribing.html”h]”j×)�”}”(hj° h]”hŒ,https://subspace.kernel.org/subscribing.html”…”�”}”(hj² h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j° uh1jÖhj® ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mxhjª ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´Mxhj‹ h²hubhÚ)�”}”(hŒ†There are archives of the mailing list on the web in many different places. Use a search engine to find these archives. For example:”h]”hŒ†There are archives of the mailing list on the web in many different places. Use a search engine to find these archives. For example:”…”�”}”(hjÌ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mzhj‹ h²hubj%)�”}”(hŒ&https://lore.kernel.org/linux-kernel/ ”h]”hÚ)�”}”(hŒ%https://lore.kernel.org/linux-kernel/”h]”j×)�”}”(hjà h]”hŒ%https://lore.kernel.org/linux-kernel/”…”�”}”(hjâ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”jà uh1jÖhjÞ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M}hjÚ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´M}hj‹ h²hubhÚ)�”}”(hŒ×It is highly recommended that you search the archives about the topic you want to bring up, before you post it to the list. A lot of things already discussed in detail are only recorded at the mailing list archives.”h]”hŒ×It is highly recommended that you search the archives about the topic you want to bring up, before you post it to the list. A lot of things already discussed in detail are only recorded at the mailing list archives.”…”�”}”(hjü h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mhj‹ h²hubhÚ)�”}”(hŒÒMost of the individual kernel subsystems also have their own separate mailing list where they do their development efforts. See the MAINTAINERS file for a list of what these lists are for the different groups.”h]”hŒÒMost of the individual kernel subsystems also have their own separate mailing list where they do their development efforts. See the MAINTAINERS file for a list of what these lists are for the different groups.”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M„hj‹ h²hubhÚ)�”}”(hŒPMany of the lists are hosted on kernel.org. Information on them can be found at:”h]”hŒPMany of the lists are hosted on kernel.org. Information on them 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×)�”}”(hj, h]”hŒhttps://subspace.kernel.org”…”�”}”(hj. h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j, uh1jÖhj* ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MŒhj& ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´MŒhj‹ h²hubhÚ)�”}”(hŒµPlease remember to follow good behavioral habits when using the lists. Though a bit cheesy, the following URL has some simple guidelines for interacting with the list (or any list):”h]”hŒµPlease remember to follow good behavioral habits when using the lists. Though a bit cheesy, the following URL has some simple guidelines for interacting with the list (or any list):”…”�”}”(hjH h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MŽhj‹ h²hubj%)�”}”(hŒ+https://subspace.kernel.org/etiquette.html ”h]”hÚ)�”}”(hŒ*https://subspace.kernel.org/etiquette.html”h]”j×)�”}”(hj\ h]”hŒ*https://subspace.kernel.org/etiquette.html”…”�”}”(hj^ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j\ uh1jÖhjZ ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M’hjV ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´M’hj‹ h²hubhÚ)�”}”(hXgIf multiple people respond to your mail, the CC: list of recipients may get pretty large. Don't remove anybody from the CC: list without a good reason, or don't reply only to the list address. Get used to receiving the mail twice, one from the sender and the one from the list, and don't try to tune that by adding fancy mail-headers, people will not like it.”h]”hXmIf multiple people respond to your mail, the CC: list of recipients may get pretty large. Don’t remove anybody from the CC: list without a good reason, or don’t reply only to the list address. Get used to receiving the mail twice, one from the sender and the one from the list, and don’t try to tune that by adding fancy mail-headers, people will not like it.”…”�”}”(hjx h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M”hj‹ h²hubhÚ)�”}”(hŒúRemember to keep the context and the attribution of your replies intact, keep the "John Kernelhacker wrote ...:" lines at the top of your reply, and add your statements between the individual quoted sections instead of writing at the top of the mail.”h]”hŒþRemember to keep the context and the attribution of your replies intact, keep the “John Kernelhacker wrote ...:â€� lines at the top of your reply, and add your statements between the individual quoted sections instead of writing at the top of the mail.”…”�”}”(hj† h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mšhj‹ h²hubhÚ)�”}”(hX@If you add patches to your mail, make sure they are plain readable text as stated in :ref:`Documentation/process/submitting-patches.rst `. Kernel developers don't want to deal with attachments or compressed patches; they may want to comment on individual lines of your patch, which works only that way. Make sure you use a mail program that does not mangle spaces and tab characters. A good first test is to send the mail to yourself and try to apply your own patch by yourself. If that doesn't work, get your mail program fixed or change it until it works.”h]”(hŒUIf you add patches to your mail, make sure they are plain readable text as stated in ”…”�”}”(hj” h²hh³Nh´Nubh)�”}”(hŒG:ref:`Documentation/process/submitting-patches.rst `”h]”j)�”}”(hjž h]”hŒ,Documentation/process/submitting-patches.rst”…”�”}”(hj  h²hh³Nh´Nubah}”(h]”h ]”(j Œstd”Œstd-ref”eh"]”h$]”h&]”uh1jhjœ ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jª Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒsubmittingpatches”uh1hh³hÃh´MŸhj” ubhX¨. Kernel developers don’t want to deal with attachments or compressed patches; they may want to comment on individual lines of your patch, which works only that way. Make sure you use a mail program that does not mangle spaces and tab characters. A good first test is to send the mail to yourself and try to apply your own patch by yourself. If that doesn’t work, get your mail program fixed or change it until it works.”…”�”}”(hj” h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MŸhj‹ h²hubhÚ)�”}”(hŒ@Above all, please remember to show respect to other subscribers.”h]”hŒ@Above all, please remember to show respect to other subscribers.”…”�”}”(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´MrubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒWorking with the community”h]”hŒWorking with the community”…”�”}”(hjß h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjÜ h²hh³hÃh´M­ubhÚ)�”}”(hŒÚThe goal of the kernel community is to provide the best possible kernel there is. When you submit a patch for acceptance, it will be reviewed on its technical merits and those alone. So, what should you be expecting?”h]”hŒÚThe goal of the kernel community is to provide the best possible kernel there is. When you submit a patch for acceptance, it will be reviewed on its technical merits and those alone. So, what should you be expecting?”…”�”}”(hjí h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¯hjÜ h²hubj%)�”}”(hŒT- criticism - comments - requests for change - requests for justification - silence ”h]”j+)�”}”(hhh]”(j0)�”}”(hŒ criticism”h]”hÚ)�”}”(hj h]”hŒ criticism”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M´hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjÿ ubj0)�”}”(hŒcomments”h]”hÚ)�”}”(hj h]”hŒcomments”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mµhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjÿ ubj0)�”}”(hŒrequests for change”h]”hÚ)�”}”(hj2 h]”hŒrequests for change”…”�”}”(hj4 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¶hj0 ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjÿ ubj0)�”}”(hŒrequests for justification”h]”hÚ)�”}”(hjI h]”hŒrequests for justification”…”�”}”(hjK h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M·hjG ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjÿ ubj0)�”}”(hŒsilence ”h]”hÚ)�”}”(hŒsilence”h]”hŒsilence”…”�”}”(hjb h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M¸hj^ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjÿ ubeh}”(h]”h ]”h"]”h$]”h&]”j}j~uh1j*h³hÃh´M´hjû ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´M´hjÜ h²hubhÚ)�”}”(hX’Remember, this is part of getting your patch into the kernel. You have to be able to take criticism and comments about your patches, evaluate them at a technical level and either rework your patches or provide clear and concise reasoning as to why those changes should not be made. If there are no responses to your posting, wait a few days and try again, sometimes things get lost in the huge volume.”h]”hX’Remember, this is part of getting your patch into the kernel. You have to be able to take criticism and comments about your patches, evaluate them at a technical level and either rework your patches or provide clear and concise reasoning as to why those changes should not be made. If there are no responses to your posting, wait a few days and try again, sometimes things get lost in the huge volume.”…”�”}”(hj‚ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MºhjÜ h²hubhÚ)�”}”(hŒWhat should you not do?”h]”hŒWhat should you not do?”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÁhjÜ h²hubj%)�”}”(hŒš- expect your patch to be accepted without question - become defensive - ignore comments - resubmit the patch without making any of the requested changes ”h]”j+)�”}”(hhh]”(j0)�”}”(hŒ1expect your patch to be accepted without question”h]”hÚ)�”}”(hj§ h]”hŒ1expect your patch to be accepted without question”…”�”}”(hj© h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÃhj¥ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj¢ ubj0)�”}”(hŒbecome defensive”h]”hÚ)�”}”(hj¾ h]”hŒbecome defensive”…”�”}”(hjÀ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÄhj¼ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj¢ ubj0)�”}”(hŒignore comments”h]”hÚ)�”}”(hjÕ h]”hŒignore comments”…”�”}”(hj× h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÅhjÓ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj¢ ubj0)�”}”(hŒ?resubmit the patch without making any of the requested changes ”h]”hÚ)�”}”(hŒ>resubmit the patch without making any of the requested changes”h]”hŒ>resubmit the patch without making any of the requested changes”…”�”}”(hjî h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÆhjê ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj¢ ubeh}”(h]”h ]”h"]”h$]”h&]”j}j~uh1j*h³hÃh´MÃhjž ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´MÃhjÜ h²hubhÚ)�”}”(hXƒIn a community that is looking for the best technical solution possible, there will always be differing opinions on how beneficial a patch is. You have to be cooperative, and willing to adapt your idea to fit within the kernel. Or at least be willing to prove your idea is worth it. Remember, being wrong is acceptable as long as you are willing to work toward a solution that is right.”h]”hXƒIn a community that is looking for the best technical solution possible, there will always be differing opinions on how beneficial a patch is. You have to be cooperative, and willing to adapt your idea to fit within the kernel. Or at least be willing to prove your idea is worth it. Remember, being wrong is acceptable as long as you are willing to work toward a solution that is right.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÈhjÜ h²hubhÚ)�”}”(hX!It is normal that the answers to your first patch might simply be a list of a dozen things you should correct. This does **not** imply that your patch will not be accepted, and it is **not** meant against you personally. Simply correct all issues raised against your patch and resend it.”h]”(hŒzIt is normal that the answers to your first patch might simply be a list of a dozen things you should correct. This does ”…”�”}”(hjh²hh³Nh´NubhŒstrong”“”)�”}”(hŒ**not**”h]”hŒnot”…”�”}”(hj&h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjubhŒ7 imply that your patch will not be accepted, and it is ”…”�”}”(hjh²hh³Nh´Nubj%)�”}”(hŒ**not**”h]”hŒnot”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j$hjubhŒb meant against you personally. Simply correct all issues raised against your patch and resend it.”…”�”}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÏhjÜ h²hubeh}”(h]”Œworking-with-the-community”ah ]”h"]”Œworking with the community”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´M­ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒADifferences between the kernel community and corporate structures”h]”hŒADifferences between the kernel community and corporate structures”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjXh²hh³hÃh´M×ubhÚ)�”}”(hŒ¥The kernel community works differently than most traditional corporate development environments. Here are a list of things that you can try to do to avoid problems:”h]”hŒ¥The kernel community works differently than most traditional corporate development environments. Here are a list of things that you can try to do to avoid problems:”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÙhjXh²hubj%)�”}”(hX|Good things to say regarding your proposed changes: - "This solves multiple problems." - "This deletes 2000 lines of code." - "Here is a patch that explains what I am trying to describe." - "I tested it on 5 different architectures..." - "Here is a series of small patches that..." - "This increases performance on typical machines..." Bad things you should avoid saying: - "We did it this way in AIX/ptx/Solaris, so therefore it must be good..." - "I've being doing this for 20 years, so..." - "This is required for my company to make money" - "This is for our Enterprise product line." - "Here is my 1000 page design document that describes my idea" - "I've been working on this for 6 months..." - "Here's a 5000 line patch that..." - "I rewrote all of the current mess, and here it is..." - "I have a deadline, and this patch needs to be applied now." ”h]”(hÚ)�”}”(hŒ3Good things to say regarding your proposed changes:”h]”hŒ3Good things to say regarding your proposed changes:”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MÝhjwubj%)�”}”(hX- "This solves multiple problems." - "This deletes 2000 lines of code." - "Here is a patch that explains what I am trying to describe." - "I tested it on 5 different architectures..." - "Here is a series of small patches that..." - "This increases performance on typical machines..." ”h]”j+)�”}”(hhh]”(j0)�”}”(hŒ "This solves multiple problems."”h]”hÚ)�”}”(hj’h]”hŒ$“This solves multiple problems.â€�”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mßhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj�ubj0)�”}”(hŒ""This deletes 2000 lines of code."”h]”hÚ)�”}”(hj©h]”hŒ&“This deletes 2000 lines of code.â€�”…”�”}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Màhj§ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj�ubj0)�”}”(hŒ="Here is a patch that explains what I am trying to describe."”h]”hÚ)�”}”(hjÀh]”hŒA“Here is a patch that explains what I am trying to describe.â€�”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Máhj¾ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj�ubj0)�”}”(hŒ-"I tested it on 5 different architectures..."”h]”hÚ)�”}”(hj×h]”hŒ1“I tested it on 5 different architectures...â€�”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MâhjÕubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj�ubj0)�”}”(hŒ+"Here is a series of small patches that..."”h]”hÚ)�”}”(hjîh]”hŒ/“Here is a series of small patches that...â€�”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mãhjìubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj�ubj0)�”}”(hŒ4"This increases performance on typical machines..." ”h]”hÚ)�”}”(hŒ3"This increases performance on typical machines..."”h]”hŒ7“This increases performance on typical machines...â€�”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mähjubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj�ubeh}”(h]”h ]”h"]”h$]”h&]”j}j~uh1j*h³hÃh´Mßhj‰ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´MßhjwubhÚ)�”}”(hŒ#Bad things you should avoid saying:”h]”hŒ#Bad things you should avoid saying:”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mæhjwubj%)�”}”(hXå- "We did it this way in AIX/ptx/Solaris, so therefore it must be good..." - "I've being doing this for 20 years, so..." - "This is required for my company to make money" - "This is for our Enterprise product line." - "Here is my 1000 page design document that describes my idea" - "I've been working on this for 6 months..." - "Here's a 5000 line patch that..." - "I rewrote all of the current mess, and here it is..." - "I have a deadline, and this patch needs to be applied now." ”h]”j+)�”}”(hhh]”(j0)�”}”(hŒH"We did it this way in AIX/ptx/Solaris, so therefore it must be good..."”h]”hÚ)�”}”(hŒH"We did it this way in AIX/ptx/Solaris, so therefore it must be good..."”h]”hŒL“We did it this way in AIX/ptx/Solaris, so therefore it must be good...â€�”…”�”}”(hj@h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mèhj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj9ubj0)�”}”(hŒ+"I've being doing this for 20 years, so..."”h]”hÚ)�”}”(hjVh]”hŒ1“I’ve being doing this for 20 years, so...â€�”…”�”}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MêhjTubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj9ubj0)�”}”(hŒ/"This is required for my company to make money"”h]”hÚ)�”}”(hjmh]”hŒ3“This is required for my company to make moneyâ€�”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mëhjkubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj9ubj0)�”}”(hŒ*"This is for our Enterprise product line."”h]”hÚ)�”}”(hj„h]”hŒ.“This is for our Enterprise product line.â€�”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mìhj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj9ubj0)�”}”(hŒ="Here is my 1000 page design document that describes my idea"”h]”hÚ)�”}”(hj›h]”hŒA“Here is my 1000 page design document that describes my ideaâ€�”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Míhj™ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj9ubj0)�”}”(hŒ+"I've been working on this for 6 months..."”h]”hÚ)�”}”(hj²h]”hŒ1“I’ve been working on this for 6 months...â€�”…”�”}”(hj´h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mîhj°ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj9ubj0)�”}”(hŒ""Here's a 5000 line patch that..."”h]”hÚ)�”}”(hjÉh]”hŒ(“Here’s a 5000 line patch that...â€�”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MïhjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj9ubj0)�”}”(hŒ6"I rewrote all of the current mess, and here it is..."”h]”hÚ)�”}”(hjàh]”hŒ:“I rewrote all of the current mess, and here it is...â€�”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MðhjÞubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj9ubj0)�”}”(hŒ="I have a deadline, and this patch needs to be applied now." ”h]”hÚ)�”}”(hŒ<"I have a deadline, and this patch needs to be applied now."”h]”hŒ@“I have a deadline, and this patch needs to be applied now.â€�”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mñhjõubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hj9ubeh}”(h]”h ]”h"]”h$]”h&]”j}j~uh1j*h³hÃh´Mèhj5ubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´Mèhjwubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´MÝhjXh²hubhÚ)�”}”(hXŸAnother way the kernel community is different than most traditional software engineering work environments is the faceless nature of interaction. One benefit of using email and irc as the primary forms of communication is the lack of discrimination based on gender or race. The Linux kernel work environment is accepting of women and minorities because all you are is an email address. The international aspect also helps to level the playing field because you can't guess gender based on a person's name. A man may be named Andrea and a woman may be named Pat. Most women who have worked in the Linux kernel and have expressed an opinion have had positive experiences.”h]”hX£Another way the kernel community is different than most traditional software engineering work environments is the faceless nature of interaction. One benefit of using email and irc as the primary forms of communication is the lack of discrimination based on gender or race. The Linux kernel work environment is accepting of women and minorities because all you are is an email address. The international aspect also helps to level the playing field because you can’t guess gender based on a person’s name. A man may be named Andrea and a woman may be named Pat. Most women who have worked in the Linux kernel and have expressed an opinion have had positive experiences.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MóhjXh²hubhÚ)�”}”(hX.The language barrier can cause problems for some people who are not comfortable with English. A good grasp of the language can be needed in order to get ideas across properly on mailing lists, so it is recommended that you check your emails to make sure they make sense in English before sending them.”h]”hX.The language barrier can cause problems for some people who are not comfortable with English. A good grasp of the language can be needed in order to get ideas across properly on mailing lists, so it is recommended that you check your emails to make sure they make sense in English before sending them.”…”�”}”(hj-h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MþhjXh²hubeh}”(h]”ŒAdifferences-between-the-kernel-community-and-corporate-structures”ah ]”h"]”ŒAdifferences between the kernel community and corporate structures”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´M×ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒBreak up your changes”h]”hŒBreak up your changes”…”�”}”(hjFh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjCh²hh³hÃh´MubhÚ)�”}”(hXœThe Linux kernel community does not gladly accept large chunks of code dropped on it all at once. The changes need to be properly introduced, discussed, and broken up into tiny, individual portions. This is almost the exact opposite of what companies are used to doing. Your proposal should also be introduced very early in the development process, so that you can receive feedback on what you are doing. It also lets the community feel that you are working with them, and not simply using them as a dumping ground for your feature. However, don't send 50 emails at one time to a mailing list, your patch series should be smaller than that almost all of the time.”h]”hXžThe Linux kernel community does not gladly accept large chunks of code dropped on it all at once. The changes need to be properly introduced, discussed, and broken up into tiny, individual portions. This is almost the exact opposite of what companies are used to doing. Your proposal should also be introduced very early in the development process, so that you can receive feedback on what you are doing. It also lets the community feel that you are working with them, and not simply using them as a dumping ground for your feature. However, don’t send 50 emails at one time to a mailing list, your patch series should be smaller than that almost all of the time.”…”�”}”(hjTh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjCh²hubhÚ)�”}”(hŒ5The reasons for breaking things up are the following:”h]”hŒ5The reasons for breaking things up are the following:”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjCh²hubhŒenumerated_list”“”)�”}”(hhh]”(j0)�”}”(hXKSmall patches increase the likelihood that your patches will be applied, since they don't take much time or effort to verify for correctness. A 5 line patch can be applied by a maintainer with barely a second glance. However, a 500 line patch may take hours to review for correctness (the time it takes is exponentially proportional to the size of the patch, or something). Small patches also make it very easy to debug when something goes wrong. It's much easier to back out patches one by one than it is to dissect a very large patch after it's been applied (and broken something). ”h]”(hÚ)�”}”(hXvSmall patches increase the likelihood that your patches will be applied, since they don't take much time or effort to verify for correctness. A 5 line patch can be applied by a maintainer with barely a second glance. However, a 500 line patch may take hours to review for correctness (the time it takes is exponentially proportional to the size of the patch, or something).”h]”hXxSmall patches increase the likelihood that your patches will be applied, since they don’t take much time or effort to verify for correctness. A 5 line patch can be applied by a maintainer with barely a second glance. However, a 500 line patch may take hours to review for correctness (the time it takes is exponentially proportional to the size of the patch, or something).”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MhjuubhÚ)�”}”(hŒÒSmall patches also make it very easy to debug when something goes wrong. It's much easier to back out patches one by one than it is to dissect a very large patch after it's been applied (and broken something).”h]”hŒÖSmall patches also make it very easy to debug when something goes wrong. It’s much easier to back out patches one by one than it is to dissect a very large patch after it’s been applied (and broken something).”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Mhjuubeh}”(h]”h ]”h"]”h$]”h&]”uh1j/hjrh²hh³hÃh´Nubj0)�”}”(hŒ…It's important not only to send small patches, but also to rewrite and simplify (or simply re-order) patches before submitting them. ”h]”hÚ)�”}”(hŒ„It's important not only to send small patches, but also to rewrite and simplify (or simply re-order) patches before submitting them.”h]”hŒ†It’s important not only to send small patches, but also to rewrite and simplify (or simply re-order) patches before submitting them.”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M!hj›ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjrh²hh³hÃh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ)”uh1jphjCh²hh³hÃh´MubhÚ)�”}”(hŒ1Here is an analogy from kernel developer Al Viro:”h]”hŒ1Here is an analogy from kernel developer Al Viro:”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M$hjCh²hubj%)�”}”(hX*"Think of a teacher grading homework from a math student. The teacher does not want to see the student's trials and errors before they came up with the solution. They want to see the cleanest, most elegant answer. A good student knows this, and would never submit her intermediate work before the final solution.* *The same is true of kernel development. The maintainers and reviewers do not want to see the thought process behind the solution to the problem one is solving. They want to see a simple and elegant solution."* ”h]”(hÚ)�”}”(hX<*"Think of a teacher grading homework from a math student. The teacher does not want to see the student's trials and errors before they came up with the solution. They want to see the cleanest, most elegant answer. A good student knows this, and would never submit her intermediate work before the final solution.*”h]”j© )�”}”(hjÒh]”hX>“Think of a teacher grading homework from a math student. The teacher does not want to see the student’s trials and errors before they came up with the solution. They want to see the cleanest, most elegant answer. A good student knows this, and would never submit her intermediate work before the final solution.”…”�”}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¨ hjÐubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M&hjÌubhÚ)�”}”(hŒÒ*The same is true of kernel development. The maintainers and reviewers do not want to see the thought process behind the solution to the problem one is solving. They want to see a simple and elegant solution."*”h]”j© )�”}”(hjéh]”hŒÒThe same is true of kernel development. The maintainers and reviewers do not want to see the thought process behind the solution to the problem one is solving. They want to see a simple and elegant solution.â€�”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¨ hjçubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M-hjÌubeh}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´M&hjCh²hubhÚ)�”}”(hX}It may be challenging to keep the balance between presenting an elegant solution and working together with the community and discussing your unfinished work. Therefore it is good to get early in the process to get feedback to improve your work, but also keep your changes in small chunks that they may get already accepted, even when your whole task is not ready for inclusion now.”h]”hX}It may be challenging to keep the balance between presenting an elegant solution and working together with the community and discussing your unfinished work. Therefore it is good to get early in the process to get feedback to improve your work, but also keep your changes in small chunks that they may get already accepted, even when your whole task is not ready for inclusion now.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M2hjCh²hubhÚ)�”}”(hŒvAlso realize that it is not acceptable to send patches for inclusion that are unfinished and will be "fixed up later."”h]”hŒzAlso realize that it is not acceptable to send patches for inclusion that are unfinished and will be “fixed up later.â€�”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M9hjCh²hubeh}”(h]”Œbreak-up-your-changes”ah ]”h"]”Œbreak up your changes”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´MubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒJustify your change”h]”hŒJustify your change”…”�”}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhj(h²hh³hÃh´M>ubhÚ)�”}”(hŒ¾Along with breaking up your patches, it is very important for you to let the Linux community know why they should add this change. New features must be justified as being needed and useful.”h]”hŒ¾Along with breaking up your patches, it is very important for you to let the Linux community know why they should add this change. New features must be justified as being needed and useful.”…”�”}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´M@hj(h²hubeh}”(h]”Œjustify-your-change”ah ]”h"]”Œjustify your change”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´M>ubhÅ)�”}”(hhh]”(hÊ)�”}”(hŒDocument your change”h]”hŒDocument your change”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhjOh²hh³hÃh´MFubhÚ)�”}”(hXWhen sending in your patches, pay special attention to what you say in the text in your email. This information will become the ChangeLog information for the patch, and will be preserved for everyone to see for all time. It should describe the patch completely, containing:”h]”hXWhen sending in your patches, pay special attention to what you say in the text in your email. This information will become the ChangeLog information for the patch, and will be preserved for everyone to see for all time. It should describe the patch completely, containing:”…”�”}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MHhjOh²hubj%)�”}”(hŒt- why the change is necessary - the overall design approach in the patch - implementation details - testing results ”h]”j+)�”}”(hhh]”(j0)�”}”(hŒwhy the change is necessary”h]”hÚ)�”}”(hjwh]”hŒwhy the change is necessary”…”�”}”(hjyh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MMhjuubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjrubj0)�”}”(hŒ(the overall design approach in the patch”h]”hÚ)�”}”(hjŽh]”hŒ(the overall design approach in the patch”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MNhjŒubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjrubj0)�”}”(hŒimplementation details”h]”hÚ)�”}”(hj¥h]”hŒimplementation details”…”�”}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MOhj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjrubj0)�”}”(hŒtesting results ”h]”hÚ)�”}”(hŒtesting results”h]”hŒtesting results”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MPhjºubah}”(h]”h ]”h"]”h$]”h&]”uh1j/hjrubeh}”(h]”h ]”h"]”h$]”h&]”j}j~uh1j*h³hÃh´MMhjnubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´MMhjOh²hubhÚ)�”}”(hŒeFor more details on what this should all look like, please see the ChangeLog section of the document:”h]”hŒeFor more details on what this should all look like, please see the ChangeLog section of the document:”…”�”}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MRhjOh²hubj%)�”}”(hŒD"The Perfect Patch" https://www.ozlabs.org/~akpm/stuff/tpp.txt ”h]”j½)�”}”(hhh]”jÂ)�”}”(hŒ@"The Perfect Patch" https://www.ozlabs.org/~akpm/stuff/tpp.txt ”h]”(jÈ)�”}”(hŒ"The Perfect Patch"”h]”hŒ“The Perfect Patchâ€�”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÇh³hÃh´MWhjóubjó)�”}”(hhh]”hÚ)�”}”(hŒ*https://www.ozlabs.org/~akpm/stuff/tpp.txt”h]”j×)�”}”(hj h]”hŒ*https://www.ozlabs.org/~akpm/stuff/tpp.txt”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j uh1jÖhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MVhjubah}”(h]”h ]”h"]”h$]”h&]”uh1jòhjóubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÁh³hÃh´MWhjðubah}”(h]”h ]”h"]”h$]”h&]”uh1j¼hjìubah}”(h]”h ]”h"]”h$]”h&]”uh1j$h³hÃh´MUhjOh²hubhÚ)�”}”(hX5All of these things are sometimes very hard to do. It can take years to perfect these practices (if at all). It's a continuous process of improvement that requires a lot of patience and determination. But don't give up, it's possible. Many have done it before, and each had to start exactly where you are now.”h]”hX;All of these things are sometimes very hard to do. It can take years to perfect these practices (if at all). It’s a continuous process of improvement that requires a lot of patience and determination. But don’t give up, it’s possible. Many have done it before, and each had to start exactly where you are now.”…”�”}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MYhjOh²hubhŒ transition”“”)�”}”(hŒ ----------”h]”h}”(h]”h ]”h"]”h$]”h&]”uh1jFh³hÃh´MbhjOh²hubhÚ)�”}”(hXwThanks to Paolo Ciarrocchi who allowed the "Development Process" (https://lwn.net/Articles/94386/) section to be based on text he had written, and to Randy Dunlap and Gerrit Huizenga for some of the list of things you should and should not say. Also thanks to Pat Mochel, Hanna Linder, Randy Dunlap, Kay Sievers, Vojtech Pavlik, Jan Kara, Josh Boyer, Kees Cook, Andrew Morton, Andi Kleen, Vadim Lobanov, Jesper Juhl, Adrian Bunk, Keri Harris, Frans Pop, David A. Wheeler, Junio Hamano, Michael Kerrisk, and Alex Shepard for their review, comments, and contributions. Without their help, this document would not have been possible.”h]”(hŒFThanks to Paolo Ciarrocchi who allowed the “Development Processâ€� (”…”�”}”(hjRh²hh³Nh´Nubj×)�”}”(hŒhttps://lwn.net/Articles/94386/”h]”hŒhttps://lwn.net/Articles/94386/”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”j\uh1jÖhjRubhX) section to be based on text he had written, and to Randy Dunlap and Gerrit Huizenga for some of the list of things you should and should not say. Also thanks to Pat Mochel, Hanna Linder, Randy Dunlap, Kay Sievers, Vojtech Pavlik, Jan Kara, Josh Boyer, Kees Cook, Andrew Morton, Andi Kleen, Vadim Lobanov, Jesper Juhl, Adrian Bunk, Keri Harris, Frans Pop, David A. Wheeler, Junio Hamano, Michael Kerrisk, and Alex Shepard for their review, comments, and contributions. Without their help, this document would not have been possible.”…”�”}”(hjRh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MdhjOh²hubhÚ)�”}”(hŒ/Maintainer: Greg Kroah-Hartman ”h]”(hŒ Maintainer: Greg Kroah-Hartman <”…”�”}”(hjsh²hh³Nh´Nubj×)�”}”(hŒgreg@kroah.com”h]”hŒgreg@kroah.com”…”�”}”(hj{h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:greg@kroah.com”uh1jÖhjsubhŒ>”…”�”}”(hjsh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´MqhjOh²hubeh}”(h]”Œdocument-your-change”ah ]”h"]”Œdocument your change”ah$]”h&]”uh1hÄhhÆh²hh³hÃh´MFubeh}”(h]”(Œ!howto-do-linux-kernel-development”hÂeh ]”h"]”(Œ!howto do linux kernel development”Œ process_howto”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”Œentry”Œ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”jÍŒ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”}”Œrefids”}”hÂ]”h·asŒnameids”}”(j£hÂj¢jŸjºj·j`j]jójðjujrjHjEj j jÈ jÅ jQ jN jº j· j j j@ j= jˆ j… jÙ jÖ jUjRj@j=j%j"jLjIjšj—uŒ nametypes”}”(j£ˆj¢‰jº‰j`‰jóˆju‰jH‰j ‰jÈ ‰jQ ‰jº ‰j ‰j@ ‰jˆ ‰jÙ ‰jU‰j@‰j%‰jL‰jš‰uh}”(hÂhÆjŸhÆj·h÷j]j½jðjêjrjcjEjxj jKjÅ jÚjN jË j· jT j j½ j= j j… jC jÖ j‹ jRjÜ j=jXj"jCjIj(j—jOuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)�”}”(hhh]”hÚ)�”}”(hhh]”hŒ3Hyperlink target "process-howto" is not referenced.”…”�”}”hj7sbah}”(h]”h ]”h"]”h$]”h&]”uh1hÙhj4ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÃŒline”Kuh1j2ubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.