Re: [PATCH 3/3] Allow arbitrary number of init funcs in modules

Roman Zippel (zippel@linux-m68k.org)
Wed, 25 Jun 2003 12:30:07 +0200 (CEST)


Hi,

On Wed, 25 Jun 2003, Rusty Russell wrote:

> > What happens if a module is compiled into the kernel and one of the init
> > functions fails?
>
> We ignore the failure, as we do with initcalls at the moment. I
> wasn't really intending to deprecate the existing mechanisms: this is
> simple at least 8)
>
> Hmm, were you thinking of grouping by KBUILD_BASENAME? Can you think
> of a case where that would be nicer to use?

It's not a case of nicer to use, it's about consistent behaviour
independent of how the module is linked into the kernel.
I'm really not convinced this feature is a good idea until the module
initialization races are not at least basically solved.

bye, Roman

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