Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.

Adrian Bunk
2007-11-27T17:25:11Z

On Tue, Nov 27, 2007 at 10:02:22AM +0100, Andi Kleen wrote:
>...
> That is EXPORT_SYMBOL already. The trouble is just that it covers
> too much. My patchkit is trying to limit it again for a specific
> use case -- exporting an "internal" interface to another module.
> Or rather a set of modules.
>
> Standard example is TCP: TCP exports nearly everything and the
> single user is the TCP code in ipv6.ko. Instead those symbols should
> be limited to be only accessable to ipv6.ko.
>...

Let's forget about external modules that are anyway irrelevant for
upstream kernel development.

Do you have past examples where this would have brought advantages
for the upstream kernel justifying all the work required for creating
and maintaining these namespaces?

IOW, where modules were submitted for upstream inclusion and merging
them was impossible or much harder only because they were developed
aginst the wrong API?

> -ANdi

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed