User Tools

Site Tools


mywiki:linux:linuxmoduleinitorder

This is an old revision of the document!


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.1416985712.txt.gz · Last modified: (external edit)