Re: Plans for mISDN? Was: [PATCH 00/14] [ISDN] ...

From: Andi Kleen
Date: Thu Feb 21 2008 - 18:17:47 EST



> that is not a big problem at all. If you have to enforce a specific
> module load order then create some dummy exports like misdn_load() and
> use them from the module that depends on it.

That's not necessarily enough. There are races during module load
when the next module is loaded already before the module it depends
on has finished initializing.

I regularly run into such a problem on my workstation with one
of the USB serial drivers for example. It errors out when autoloaded
during boot, but loads fine on retry later.

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