User Tools

Site Tools


mywiki:linux:linuxmoduleinitorder

Linux Module Initialization Order

For static linked to Kernel case

Below is the initialization order from first to last. For details, refer to linux/init.h

  1. core_initcall()
  2. postcore_initcall()
  3. arch_initcall()
  4. subsys_initcall()
  5. fs_initcall()
  6. device_initcall()
  7. late_initcall()

For dynamic loadable module

module_init(xxxx_init); module_exit(xxxx_exit);

mywiki/linux/linuxmoduleinitorder.txt · Last modified: by 127.0.0.1