mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
We are making module documentation self evident
Remove this now before we forget to remove it when we are done with the refactor
This commit is contained in:
22
README.adoc
22
README.adoc
@@ -784,26 +784,6 @@ enables all log levels, and is basically the same as:
|
||||
|
||||
except that you don't need to know what is the maximum level.
|
||||
|
||||
=== Module documentation
|
||||
|
||||
....
|
||||
head kernel_module/modulename.c
|
||||
grep 'insmod /modulename\.ko' README.adoc
|
||||
....
|
||||
|
||||
Many of the modules have userland test scripts / executables with the same name as the module, e.g. form inside the guest:
|
||||
|
||||
....
|
||||
/modulename.sh
|
||||
/modulename.out
|
||||
....
|
||||
|
||||
The sources of those tests will further clarify what the corresponding kernel modules does. To find them on the host, do a quick:
|
||||
|
||||
....
|
||||
git ls-files | grep modulename
|
||||
....
|
||||
|
||||
=== Rebuild
|
||||
|
||||
After making changes to a package, you must explicitly request it to be rebuilt.
|
||||
@@ -3569,7 +3549,7 @@ Anonymous inodes allow getting multiple file descriptors from a single filesyste
|
||||
|
||||
Bibliography: https://stackoverflow.com/questions/4508998/what-is-an-anonymous-inode-in-linux
|
||||
|
||||
=== Linux kernel asynchronous
|
||||
=== Linux kernel asynchronous APIs
|
||||
|
||||
In this section we will document asynchronous APIs of Linux kernel, especially kthread-related scheduled events.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user