Re: does CONFIG_UNUSED_SYMBOLS have any value anymore?

From: Stefan Richter
Date: Thu Jul 19 2007 - 10:27:04 EST


Robert P. J. Day wrote:
...
> it's not clear if that means that it was a *one-time* transition
> aid which is now unnecessary, or whether it's an *ongoing* aid which
> might be used at any time. currently, there are no invocations of
> EXPORT_UNUSED_SYMBOL[_GPL] anywhere in the tree. so does that mean
> this feature can be tossed? or might it still be used every so often?

git-blame (or qgit, which I actually used) points from this part of
lib/Kconfig.debug to the following chunk in
Documentation/feature-removal-schedule.txt:

What: Unused EXPORT_SYMBOL/EXPORT_SYMBOL_GPL exports
(temporary transition config option provided until then)
The transition config option will also be removed at the same time.
When: before 2.6.19
Why: Unused symbols are both increasing the size of the kernel binary
and are often a sign of "wrong API"
Who: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
--
Stefan Richter
-=====-=-=== -=== =--==
http://arcgraph.de/sr/
-
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/