The Linux Kernel Module Programming Guide
See also The Linux Memory Manager: https://linuxmemory.org/chapters Last update the author sent out was in early July noting that the book is now in editing:
> I am happy to report that I have completed the first draft of the book [...] > I am now in an editing phase, which may well take some time. Sadly I can't give a reasonable estimate as this will be done in concert with my publisher.
Some examples seem hard to play with, unfortunately. For instance, "Detecting button presses" assumes one is able to build modules for RPi, which probably is not trivial by itself (e.g., requires cross-compilation).
A detailed, hands-on, build a kernel module right away kind of tutorial. Bravo.
What about Linux kernel programming in general, e.g hacking the filesystem or memory management parts?
Many years ago there was "Linux Kernel Development" by Robert Love, probably not updated anymore.
I've read it first time about 22 years ago :)
[dead]
[flagged]
> 1.7 Before delving into code...
Did the authors use an LLM to write or improve the text? I have no problem with that but I feel I'd like to know how much work is LLM based before reading.
qemu is a good way to experience with kernel hacking
Hopefully someone can update the LDD(linux device driver) and Linux kernel books. In fact Linux Foundation should sponsor such efforts since technical book like this is hard to make any profit.