flâneur — a map of the web's best reading

Kernel modules — The Linux Kernel documentation

linux-kernel-labs.github.io · 6,576 words · saved by 1 readers

A monolithic kernel, though faster than a microkernel, has the disadvantage of lack of modularity and extensibility. On modern monolithic kernels, this has been solved by using kernel modules. A kernel module (or loadable kernel mode) is an object file that contains code that can extend the kernel functionality at runtime (it is loaded as needed); When a kernel module is no longer needed, it can be unloaded. Most of the device drivers are used in the form of kernel modules. For the development of Linux device drivers, it is recommended to download the kernel sources, configure and compile them and then install the compiled version on the test /development tool machine. Below is a very simple example of a kernel module. When loading into the kernel, it will generate the message "Hi". When unloading the kernel module, the "Bye" message will be generated. The generated messages will not be displayed on the console but will be saved in a specially reserved memory area for this, from where

Kernel modules - The Linux Kernel documentation Kernel modules View page source Kernel modules ¶ Lab objectives ¶ creating simple modules describing the process of kernel module compilation presenting how a module can be used with a kernel simple kernel debugging methods Kernel Modules Overview ¶ A monolithic kernel, though faster than a microkernel, has the disadvantage of lack of modularity and extensibility. On modern monolithic kernels, this has been solved by using kernel modules. A kernel module (or loadable kernel mode) is an object file that contains code that can extend the kernel fun

Explore this link on the map →

saved by

related reading