Re: [PATCH] Make agpsupport work with modversions

From: Keith Owens (kaos@ocs.com.au)
Date: Fri Oct 27 2000 - 21:18:16 EST


On Fri, 27 Oct 2000 14:25:48 +0100,
David Woodhouse <dwmw2@infradead.org> wrote:
>But in the case where there _aren't_ any functions which could usefully be
>shared between the modules, you've got a whole extra gratuitous module
>(What's that, 32KiB on some ARM boxen?) just to hold the registration
>functions, which aren't needed if you just use get_module_symbol().
>
>Provide generic code for registering such stuff and it might be acceptable.
>Otherwise, get_module_symbol is better. There's no fundamental flaw with
>get_module_symbol() - just one or two of the current usages of it.

cc list trimmed. Nobody has come up with a "must have" reason for
get_module_symbol and that interface is broken as designed. I will be
adding generic inter-object registration code and removing all vestiges
of get_module_symbol this weekend. The inter-object registration code
will allow two objects to pass data to each other, it will not matter
whether the objects are both modules, one module and one built in (in
either order) or both built in. When modules are involved there will
be full module locking.

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



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:22 EST