> When Linus did the link order thing, I thought at the time that it
> would be neat to have every init function be able to return -EAGAIN and
> it would then be put back on the end of the queue. The master init
> function would keep cycling through the list until one entire run with
> no success returns.
Urgh.
> Like you do with bubble sort. (:
Exactly.
I proposed some time back (on linux-kernel) to use tsort(1) for this, as it
was created just for keeping track of link order. The idea was shot down as
too hacky :(
-- Horst von Brand vonbrand@sleipnir.valparaiso.cl Casilla 9G, Viņa del Mar, Chile +56 32 672616- 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/