Messages in this thread | | | Date | Tue, 3 Aug 1999 10:41:44 +0100 (GMT) | From | Matthew Kirkwood <> | Subject | Re: More linker magic.. |
| |
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.
> The standard[1] linker cannot sort constructors, but system startup is > not performance critical, so it is reasonable to sort the init table > at runtime.
Sort? Pah, why not just force the priority to be between 0 and 10 and scan the whole thing 11 times :)
Matthew.
- 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/
| |