# Linux Kernel Module Cheat

#### 17.5.5. init_module

`init_module` and `cleanup_module` are an older alternative to the `module_init` and `module_exit` macros:

    insmod init_module.ko
    rmmod init_module

Dmesg output:

    init_module
    cleanup_module

Source: kernel_modules/init_module.c

TODO why were `module_init` and `module_exit` created? https://stackoverflow.com/questions/3218320/what-is-the-difference-between-module-init-and-init-module-in-a-linux-kernel-mod