Re: More linker magic..

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Tue, 3 Aug 1999 12:10:47 +0200 (CEST)


On 3 Aug 1999, Andi Kleen wrote:

> Would it make sense to add a "priority" argument to __initcall ? This
> would allow to express simple dependencies between modules. Of course
> this could be emulated by immediate functions that do the traditional
> manual initialization.

wouldnt it be better to explicitly list initialization dependencies in
some way? Thats a whole lot more generic and flexible than static
'priorities'. (eg. just because you introduce a new intermediate
dependency you'd have to shift down all sub-modules.) The boot code then
would resolve these dependencies. (and detect things like circular
dependencies as well)

-- mingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/