
Linux Kernel Programming
by Kaiwan N Billimoria · first published 2021
5mentions
4recommended by
5HN commenters
2018–2025first – last mentioned
80% recommend20% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.





…https://www.amazon.com/MacOS-iOS-Internals-User-Mode/dp/0991... Part 2: https://www.amazon.com/MacOS-iOS-Internals-II-Kernel/dp/0991... Part 3: https://www.amazon.com/MacOS-iOS-Internals-III-Insecurity/dp... Linux Kernel Programming: Part 1: https://www.amazon.com/Linux-Kernel-Development-Cookbook-pro... Part 2: https://www.amazon.com/Linux-Kernel-Programming-Part-Synchro... The Linux Programming Interface: https://www.amazon.com/Linux-Programming-Interface-System-Ha...…
on “My £4 a month server can handle 4.2M requests a day” ↗If you prefer reading, you may want to look into Kaiwan N. Billimoria’s books: https://www.packtpub.com/authors/kaiwan-n-billimoria I’m halfway into their first Linux Kernel Programming book and like it so far.
on “Ask HN: Looking for a resource on Linux kernel module development” ↗…be a Linux Device Drivers book https://lwn.net/Kernel/LDD3/ While it's still based on the 2.6 kernel, it's probably good enough for the basics. Not sure there is a more modern source. (Robert Love's Linux Kernel Programming was also a nice introduction to how the Kernel works, though it might be outdated in some areas now as well)
on “Writing userspace USB drivers for abandoned devices” ↗For Linux kernel dev, I found Linux Kernel Programming: A Comprehensive Guide to Kernel Internals to be a really helpful resource. For eBPF, the early chapters of Brendan Gregg’s BPF Performance Tools gave me the context I needed to get started. From there,…
on “Ask HN: What cool skill or project interests you, but feels out of reach?” ↗…still one of the best available to get a handle on memory management under Linux. Must have. * Understanding the Linux kernel: Dated but still my go to book to refresh certain subsystems. Must have. * Linux Kernel Programming by Michael Beck: Mentioned for historical reasons, else most out dated book here (2.4 based). Horrible editing and English but heck! I loved it back in the days :) * Linux kernel networking by Rami Rosen:…
on “A book list for OS kernel developers and device driver writers (2006)” ↗