Re: [PATCH RFC] [1/9] Core module symbol namespaces code and intro.
From: Adrian Bunk
Date: Tue Nov 27 2007 - 12:25:14 EST
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
-
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/