kernel-docs.rst 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. .. _kernel_docs:
  2. Index of Further Kernel Documentation
  3. =====================================
  4. The need for a document like this one became apparent in the linux-kernel
  5. mailing list as the same questions, asking for pointers to information,
  6. appeared again and again.
  7. Fortunately, as more and more people get to GNU/Linux, more and more get
  8. interested in the Kernel. But reading the sources is not always enough. It
  9. is easy to understand the code, but miss the concepts, the philosophy and
  10. design decisions behind this code.
  11. Unfortunately, not many documents are available for beginners to start.
  12. And, even if they exist, there was no "well-known" place which kept track
  13. of them. These lines try to cover this lack.
  14. PLEASE, if you know any paper not listed here or write a new document,
  15. include a reference to it here, following the kernel's patch submission
  16. process. Any corrections, ideas or comments are also welcome.
  17. All documents are cataloged with the following fields: the document's
  18. "Title", the "Author"/s, the "URL" where they can be found, some "Keywords"
  19. helpful when searching for specific topics, and a brief "Description" of
  20. the Document.
  21. .. note::
  22. The documents on each section of this document are ordered by its
  23. published date, from the newest to the oldest. The maintainer(s) should
  24. periodically retire resources as they become obsolete or outdated; with
  25. the exception of foundational books.
  26. Docs at the Linux Kernel tree
  27. -----------------------------
  28. The Sphinx books should be built with ``make {htmldocs | pdfdocs | epubdocs}``.
  29. * Name: **linux/Documentation**
  30. :Author: Many.
  31. :Location: Documentation/
  32. :Keywords: text files, Sphinx.
  33. :Description: Documentation that comes with the kernel sources,
  34. inside the Documentation directory. Some pages from this document
  35. (including this document itself) have been moved there, and might
  36. be more up to date than the web version.
  37. On-line docs
  38. ------------
  39. * Title: **Linux Kernel Mailing List Glossary**
  40. :Author: various
  41. :URL: https://kernelnewbies.org/KernelGlossary
  42. :Date: rolling version
  43. :Keywords: glossary, terms, linux-kernel.
  44. :Description: From the introduction: "This glossary is intended as
  45. a brief description of some of the acronyms and terms you may hear
  46. during discussion of the Linux kernel".
  47. * Title: **The Linux Kernel Module Programming Guide**
  48. :Author: Peter Jay Salzman, Michael Burian, Ori Pomerantz, Bob Mottram,
  49. Jim Huang.
  50. :URL: https://sysprog21.github.io/lkmpg/
  51. :Date: 2021
  52. :Keywords: modules, GPL book, /proc, ioctls, system calls,
  53. interrupt handlers .
  54. :Description: A very nice GPL book on the topic of modules
  55. programming. Lots of examples. Currently the new version is being
  56. actively maintained at https://github.com/sysprog21/lkmpg.
  57. * Title: **Rust for Linux**
  58. :Author: various
  59. :URL: https://rust-for-linux.com/
  60. :Date: rolling version
  61. :Keywords: glossary, terms, linux-kernel.
  62. :Description: From the website: "Rust for Linux is the project adding
  63. support for the Rust language to the Linux kernel. This website is
  64. intended as a hub of links, documentation and resources related to
  65. the project".
  66. Published books
  67. ---------------
  68. * Title: **Practical Linux System Administration: A Guide to Installation, Configuration, and Management, 1st Edition**
  69. :Author: Kenneth Hess
  70. :Publisher: O'Reilly Media
  71. :Date: May, 2023
  72. :Pages: 246
  73. :ISBN: 978-1098109035
  74. :Notes: System administration
  75. * Title: **Linux Kernel Debugging: Leverage proven tools and advanced techniques to effectively debug Linux kernels and kernel modules**
  76. :Author: Kaiwan N Billimoria
  77. :Publisher: Packt Publishing Ltd
  78. :Date: August, 2022
  79. :Pages: 638
  80. :ISBN: 978-1801075039
  81. :Notes: Debugging book
  82. * Title: **Linux Kernel Programming: A Comprehensive Guide to Kernel Internals, Writing Kernel Modules, and Kernel Synchronization**
  83. :Author: Kaiwan N Billimoria
  84. :Publisher: Packt Publishing Ltd
  85. :Date: March, 2021 (Second Edition published in 2024)
  86. :Pages: 754
  87. :ISBN: 978-1789953435 (Second Edition ISBN is 978-1803232225)
  88. * Title: **Linux Kernel Programming Part 2 - Char Device Drivers and Kernel Synchronization: Create user-kernel interfaces, work with peripheral I/O, and handle hardware interrupts**
  89. :Author: Kaiwan N Billimoria
  90. :Publisher: Packt Publishing Ltd
  91. :Date: March, 2021
  92. :Pages: 452
  93. :ISBN: 978-1801079518
  94. * Title: **Linux System Programming: Talking Directly to the Kernel and C Library**
  95. :Author: Robert Love
  96. :Publisher: O'Reilly Media
  97. :Date: June, 2013
  98. :Pages: 456
  99. :ISBN: 978-1449339531
  100. :Notes: Foundational book
  101. * Title: **Linux Kernel Development, 3rd Edition**
  102. :Author: Robert Love
  103. :Publisher: Addison-Wesley
  104. :Date: July, 2010
  105. :Pages: 440
  106. :ISBN: 978-0672329463
  107. :Notes: Foundational book
  108. .. _ldd3_published:
  109. * Title: **Linux Device Drivers, 3rd Edition**
  110. :Authors: Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman
  111. :Publisher: O'Reilly & Associates
  112. :Date: 2005
  113. :Pages: 636
  114. :ISBN: 0-596-00590-3
  115. :Notes: Foundational book. Further information in
  116. http://www.oreilly.com/catalog/linuxdrive3/
  117. PDF format, URL: https://lwn.net/Kernel/LDD3/
  118. * Title: **The Design of the UNIX Operating System**
  119. :Author: Maurice J. Bach
  120. :Publisher: Prentice Hall
  121. :Date: 1986
  122. :Pages: 471
  123. :ISBN: 0-13-201757-1
  124. :Notes: Foundational book
  125. Miscellaneous
  126. -------------
  127. * Name: **Cross-Referencing Linux**
  128. :URL: https://elixir.bootlin.com/
  129. :Keywords: Browsing source code.
  130. :Description: Another web-based Linux kernel source code browser.
  131. Lots of cross references to variables and functions. You can see
  132. where they are defined and where they are used.
  133. * Name: **Linux Weekly News**
  134. :URL: https://lwn.net
  135. :Keywords: latest kernel news.
  136. :Description: The title says it all. There's a fixed kernel section
  137. summarizing developers' work, bug fixes, new features and versions
  138. produced during the week.
  139. * Name: **The home page of Linux-MM**
  140. :Author: The Linux-MM team.
  141. :URL: https://linux-mm.org/
  142. :Keywords: memory management, Linux-MM, mm patches, TODO, docs,
  143. mailing list.
  144. :Description: Site devoted to Linux Memory Management development.
  145. Memory related patches, HOWTOs, links, mm developers... Don't miss
  146. it if you are interested in memory management development!
  147. * Name: **Kernel Newbies IRC Channel and Website**
  148. :URL: https://www.kernelnewbies.org
  149. :Keywords: IRC, newbies, channel, asking doubts.
  150. :Description: #kernelnewbies on irc.oftc.net.
  151. #kernelnewbies is an IRC network dedicated to the 'newbie'
  152. kernel hacker. The audience mostly consists of people who are
  153. learning about the kernel, working on kernel projects or
  154. professional kernel hackers that want to help less seasoned kernel
  155. people.
  156. #kernelnewbies is on the OFTC IRC Network.
  157. Try irc.oftc.net as your server and then /join #kernelnewbies.
  158. The kernelnewbies website also hosts articles, documents, FAQs...
  159. * Name: **linux-kernel mailing list archives and search engines**
  160. :URL: https://subspace.kernel.org
  161. :URL: https://lore.kernel.org
  162. :Keywords: linux-kernel, archives, search.
  163. :Description: Some of the linux-kernel mailing list archivers. If
  164. you have a better/another one, please let me know.
  165. * Name: **The Linux Foundation YouTube channel**
  166. :URL: https://www.youtube.com/user/thelinuxfoundation
  167. :Keywords: linux, videos, linux-foundation, youtube.
  168. :Description: The Linux Foundation uploads video recordings of their
  169. collaborative events, Linux conferences including LinuxCon, and
  170. other original research and content related to Linux and software
  171. development.
  172. -------
  173. This document was originally based on:
  174. https://www.dit.upm.es/~jmseyas/linux/kernel/hackers-docs.html
  175. and written by Juan-Mariano de Goyeneche