RE: searching exported symbols from modules

From: Arjan van de Ven
Date: Wed Apr 19 2006 - 12:02:38 EST


On Wed, 2006-04-19 at 18:59 +0300, Antti Halonen wrote:
> > a better way would be then to have a "core" module which is basically
> > collecting these algorithms, and then have the algorithm modules, when
> > they are loaded, register themselves with this core module. (and
> > unregister at unload). It's sort of inside-out with they way you're
> > trying to do it, but it'll work out a lot nicer. Obviously the user of
> > the algorithms can be another module in addition to this core module.
> > (and even register algorithms itself)
>
> Exactly, I agree 100%. But here's the catch: it's not an option at this
> point in time.

eh why not? For your module to be ever merged into mainline this change
will need to be done anyway (and it'll save you time as well even on the
short term)

-
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/