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

Tigran Aivazian (tigran@aivazian.fsnet.co.uk)
Wed, 3 Apr 2002 21:27:52 +0100 (BST)


On Wed, 3 Apr 2002, Tigran Aivazian wrote:
> 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):
>
> register_export_payment(sym, sum);
>
> where 'sum' depends on the number of hours spent on writing sym().

I hope it is obvious it was a joke? Perhaps to make the joke intention
clearer I should have suggested a better "symbol exporting protocol" from
kindergarten experience:

module -> kernel: export your symbols, please
kernel -> module: you export yours first and I'll export some of mine

which is not totally unlike the scheme suggested by bona fide
EXPORT_SYMBOL_GPL defenders, namely "if binary-only modules don't
contribute to the base kernel why should the base kernel let them use it's
symbols".

Regards,
Tigran

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