Re: [PATCH 2.5.5] do export vmalloc_to_page to modules...

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Apr 03 2002 - 16:22:00 EST


> is wrong somewhere. Then perhaps we could even refine the API to have
>
> EXPORT_SYMBOL_FRIENDS(sym,list_of_friends)
>
> where only "friends" can use the symbol and even then only if they first
> call (an exported function):

Swap "friends" from people to code then its interesting

eg I'd love to be able to do
        EXPORT_SYMBOL_TO(sym, "i2o*.o");

for the i2o code and know that nobody is going to try and use those routines
for non i2o stuff thinking "that looks handy".

I'm not sure if its that managable, _INTERNAL works for a lot of things from
my point of view. Knowing what is and isnt claimed to be an interface helps
so much. Complicating it seems to have few extra payoffs
-
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/



This archive was generated by hypermail 2b29 : Sun Apr 07 2002 - 22:00:12 EST