Skip to content
Advertisement

Tag: c++

Where/how does the kernel loads statically linked modules?

Looking at init/main.c#start_kernel it’s not clear where the statically linked kernel modules are loaded, neither how the kernel gets a list of them. So, where are the statically linked kernel modules loaded? Answer For compiling a module “as a module”, the corresponding Kconfig is set to m. If set to y, all the module code is compiled just like all

Advertisement