Regarding module init function

Dave Hylands dhylands at
Tue Jan 8 09:33:07 EST 2013

Hi Rahul,

On Tue, Jan 8, 2013 at 2:50 PM, Rahul Bedarkar <rpal143 at> wrote:
> Thanks Dave!
> I just verified that from Between __early_initcall_end and
__initcall_end, there is list of init calls with levels from 0-7. What is
significance of these levels.

The levels basically just control the order that the initcalls are made.
Basically, all level 0 functions are called befor level 1 functions, etc.

The meaning behind the levels can be discerned from the macros in init.h

There is also some docs here:

Dave Hylands
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list