kernel-docs.rst 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381
  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. Published books
  58. ---------------
  59. * Title: **The Linux Memory Manager**
  60. :Author: Lorenzo Stoakes
  61. :Publisher: No Starch Press
  62. :Date: February 2025
  63. :Pages: 1300
  64. :ISBN: 978-1718504462
  65. :Notes: Memory management. Full draft available as early access for
  66. pre-order, full release scheduled for Fall 2025. See
  67. https://nostarch.com/linux-memory-manager for further info.
  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. Rust
  173. ----
  174. * Title: **Rust for Linux**
  175. :Author: various
  176. :URL: https://rust-for-linux.com/
  177. :Date: rolling version
  178. :Keywords: glossary, terms, linux-kernel, rust.
  179. :Description: From the website: "Rust for Linux is the project adding
  180. support for the Rust language to the Linux kernel. This website is
  181. intended as a hub of links, documentation and resources related to
  182. the project".
  183. * Title: **Learn Rust the Dangerous Way**
  184. :Author: Cliff L. Biffle
  185. :URL: https://cliffle.com/p/dangerust/
  186. :Date: Accessed Sep 11 2024
  187. :Keywords: rust, blog.
  188. :Description: From the website: "LRtDW is a series of articles
  189. putting Rust features in context for low-level C programmers who
  190. maybe don’t have a formal CS background — the sort of people who
  191. work on firmware, game engines, OS kernels, and the like.
  192. Basically, people like me.". It illustrates line-by-line
  193. conversions from C to Rust.
  194. * Title: **The Rust Book**
  195. :Author: Steve Klabnik and Carol Nichols, with contributions from the
  196. Rust community
  197. :URL: https://doc.rust-lang.org/book/
  198. :Date: Accessed Sep 11 2024
  199. :Keywords: rust, book.
  200. :Description: From the website: "This book fully embraces the
  201. potential of Rust to empower its users. It’s a friendly and
  202. approachable text intended to help you level up not just your
  203. knowledge of Rust, but also your reach and confidence as a
  204. programmer in general. So dive in, get ready to learn—and welcome
  205. to the Rust community!".
  206. * Title: **Rust for the Polyglot Programmer**
  207. :Author: Ian Jackson
  208. :URL: https://www.chiark.greenend.org.uk/~ianmdlvl/rust-polyglot/index.html
  209. :Date: December 2022
  210. :Keywords: rust, blog, tooling.
  211. :Description: From the website: "There are many guides and
  212. introductions to Rust. This one is something different: it is
  213. intended for the experienced programmer who already knows many
  214. other programming languages. I try to be comprehensive enough to be
  215. a starting point for any area of Rust, but to avoid going into too
  216. much detail except where things are not as you might expect. Also
  217. this guide is not entirely free of opinion, including
  218. recommendations of libraries (crates), tooling, etc.".
  219. * Title: **Fasterthanli.me**
  220. :Author: Amos Wenger
  221. :URL: https://fasterthanli.me/
  222. :Date: Accessed Sep 11 2024
  223. :Keywords: rust, blog, news.
  224. :Description: From the website: "I make articles and videos about how
  225. computers work. My content is long-form, didactic and exploratory
  226. — and often an excuse to teach Rust!".
  227. * Title: **Comprehensive Rust**
  228. :Author: Android team at Google
  229. :URL: https://google.github.io/comprehensive-rust/
  230. :Date: Accessed Sep 13 2024
  231. :Keywords: rust, blog.
  232. :Description: From the website: "The course covers the full spectrum
  233. of Rust, from basic syntax to advanced topics like generics and
  234. error handling".
  235. * Title: **The Embedded Rust Book**
  236. :Author: Multiple contributors, mostly Jorge Aparicio
  237. :URL: https://docs.rust-embedded.org/book/
  238. :Date: Accessed Sep 13 2024
  239. :Keywords: rust, blog.
  240. :Description: From the website: "An introductory book about using
  241. the Rust Programming Language on "Bare Metal" embedded systems,
  242. such as Microcontrollers".
  243. * Title: **Experiment: Improving the Rust Book**
  244. :Author: Cognitive Engineering Lab at Brown University
  245. :URL: https://rust-book.cs.brown.edu/
  246. :Date: Accessed Sep 22 2024
  247. :Keywords: rust, blog.
  248. :Description: From the website: "The goal of this experiment is to
  249. evaluate and improve the content of the Rust Book to help people
  250. learn Rust more effectively.".
  251. * Title: **New Rustacean** (podcast)
  252. :Author: Chris Krycho
  253. :URL: https://newrustacean.com/
  254. :Date: Accessed Sep 22 2024
  255. :Keywords: rust, podcast.
  256. :Description: From the website: "This is a podcast about learning
  257. the programming language Rust—from scratch! Apart from this spiffy
  258. landing page, all the site content is built with Rust's own
  259. documentation tools.".
  260. * Title: **Opsem-team** (repository)
  261. :Author: Operational semantics team
  262. :URL: https://github.com/rust-lang/opsem-team/tree/main
  263. :Date: Accessed Sep 22 2024
  264. :Keywords: rust, repository.
  265. :Description: From the README: "The opsem team is the successor of
  266. the unsafe-code-guidelines working group and responsible for
  267. answering many of the difficult questions about the semantics of
  268. unsafe Rust".
  269. * Title: **You Can't Spell Trust Without Rust**
  270. :Author: Alexis Beingessner
  271. :URL: https://repository.library.carleton.ca/downloads/1j92g820w?locale=en
  272. :Date: 2015
  273. :Keywords: rust, master, thesis.
  274. :Description: This thesis focuses on Rust's ownership system, which
  275. ensures memory safety by controlling data manipulation and
  276. lifetime, while also highlighting its limitations and comparing it
  277. to similar systems in Cyclone and C++.
  278. * Name: **Linux Plumbers (LPC) 2024 Rust presentations**
  279. :Title: Rust microconference
  280. :URL: https://lpc.events/event/18/sessions/186/#20240918
  281. :Title: Rust for Linux
  282. :URL: https://lpc.events/event/18/contributions/1912/
  283. :Title: Journey of a C kernel engineer starting a Rust driver project
  284. :URL: https://lpc.events/event/18/contributions/1911/
  285. :Title: Crafting a Linux kernel scheduler that runs in user-space
  286. using Rust
  287. :URL: https://lpc.events/event/18/contributions/1723/
  288. :Title: openHCL: A Linux and Rust based paravisor
  289. :URL: https://lpc.events/event/18/contributions/1956/
  290. :Keywords: rust, lpc, presentations.
  291. :Description: A number of LPC talks related to Rust.
  292. * Name: **The Rustacean Station Podcast**
  293. :URL: https://rustacean-station.org/
  294. :Keywords: rust, podcasts.
  295. :Description: A community project for creating podcast content for
  296. the Rust programming language.
  297. -------
  298. This document was originally based on:
  299. https://www.dit.upm.es/~jmseyas/linux/kernel/hackers-docs.html
  300. and written by Juan-Mariano de Goyeneche