lkmpg
lkmpg copied to clipboard
The Linux Kernel Module Programming Guide (updated for 5.0+ kernels)
in the hope ... will -> in the hope that ... would get -> got where are ... gone -> where have ... gone For those not -> For those...
In section`Manage /proc file with standard filesystem`, there is some description about inode_operations, but the sample `procfs3.c` don't contains code about it.
It is possible that in future tasklets may be replaced by threaded irqs.
Since this book was not inactive for more than 13 years, Linux world changes a lot. We should learn from recent materials in order to revise the book. Random sites:...
Would it be possible to get a section that talks about device-trees and how they interact with kernel modules? That would be a great addition for the folks that work...
[`__next__`](https://www.reddit.com/user/__next__/) at Reddit gave [the feedback](https://www.reddit.com/r/linux/comments/owc2gh/the_linux_kernel_module_programming_guide/): > Interrupts can't happen during the lock as the main idea of using `spin_lock_irq` is to disable (on the logical core, let's use "local...
[Linux Kernel Module Cheat](https://github.com/cirosantilli/linux-kernel-module-cheat) is an ideal environment for experimenting Linux kernel modules by means of system emulations such as QEMU. We should follow the steps for better developer experience...
Nice work for all the writers!! Since I am going to write some Linux Kernel Module, I found this new book that explain the new infrastructure in modern Linux Kernel....
There are various deprecated functions/macros used in LKMPG. For example, `try_module_get(THIS_MODULE)` is regarded as unsafe. See https://stackoverflow.com/questions/1741415/linux-kernel-modules-when-to-use-try-module-get-module-put
As the work grows, the `*.tex` file can become unwieldy and confusing, especially we're writing a full-length book. It's the good practice to split the file into several files. LaTeX...