3 ms·
What is the best book on the design/architecture of the Linux kernel?
by amelius 5y ago
What is the best book on the design/architecture of the Linux kernel?
- nickmcc 5y agoOne very in-depth book I have is: The Linux Programming Interface: A Linux and UNIX System Programming Handbook
- fitnessrunner 5y agoHave you read it? I recently purchased a copy, and the exercises look fun/useful.
- jb3689 5y agoAs someone who does not write C regularly and doesn’t not need to read stacks docs regularly, I’ve found it immensely useful. I have not gotten very far yet but have already found real world use for flag combinations for avoiding race conditions
- nbaksalyar 5y agoAlthough it's not a book, the Linux documentation [1] is actually very good and does the job of explaining design and architecture of the kernel. I'd also suggest reading "Unix Internals" by Uresh Vahalia. While this book is from 1995 and it doesn't cover Linux specifically, it's an exceptional resource for understanding how *nix kernels work in general. [1] https://docs.kernel.org/ https://docs.kernel.org/
- valbaca 5y ago"A Heavily Commented Linux Kernel Source Code" by Zhao Jiong and "The Linux Programming Interface" by Michael Kerrisk are the best I'm aware of.
- alfiedotwtf 5y agoAlso Maxwell's "Linux Core Kernel Commentary" which also annotates the kernel. It's old so is based on 2.2, but its a gold mine
- koprulusector 5y ago+1 for “The Linux Programming Interface”
- unmole 5y agoLPI while amazing doesn't exactly deal with the internals or architecture of the Kernel. Robert Love's Linux Kernel Development is probably what OP is looking for.