Tagged articles
1 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Jan 25, 2021 · Fundamentals

How Linux Kernel Invokes Module Init Functions via fs_initcall

The article explains how the Linux kernel discovers and calls module initialization functions like inet_init by using the fs_initcall macro, which creates static initcall variables placed in specially‑named sections that the linker groups and the kernel iterates at boot time.

CInitcallKernel
0 likes · 8 min read
How Linux Kernel Invokes Module Init Functions via fs_initcall