In article <cadbf7eddkdnzjfnpdsdjk+rcnbfwf8xxomuvg+vp9fupej8...@mail.gmail.com>, Masao Uebayashi <uebay...@gmail.com> wrote: > >I have tried to explain the need of kctors, instead of hardcoded >sequence of xxx_init() functions in init_main.c:main(), generated by >dependency.
We need both constructors to handle dependencies and event handlers to notify subsystems about modules being loaded and unloaded (so that they can be added and removed to the subsystems that need to know about them), like the FreeBSD eventhandler.h stuff. christos