diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2006-06-28 07:26:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-28 17:59:04 -0400 |
commit | f71d20e961474dde77e6558396efb93d6ac80a4b (patch) | |
tree | 669610f79521fd173c28fc47bef39ecd4cdf52ab /Documentation/feature-removal-schedule.txt | |
parent | f5e54d6e53a20cef45af7499e86164f0e0d16bb2 (diff) |
[PATCH] Add EXPORT_UNUSED_SYMBOL and EXPORT_UNUSED_SYMBOL_GPL
Temporarily add EXPORT_UNUSED_SYMBOL and EXPORT_UNUSED_SYMBOL_GPL. These
will be used as a transition measure for symbols that aren't used in the
kernel and are on the way out. When a module uses such a symbol, a warning
is printk'd at modprobe time.
The main reason for removing unused exports is size: eacho export takes
roughly between 100 and 150 bytes of kernel space in the binary. This
patch gives users the option to immediately get this size gain via a config
option.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/feature-removal-schedule.txt')
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 027285d0c26c..033ac91da07a 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -177,6 +177,16 @@ Who: Jean Delvare <khali@linux-fr.org> | |||
177 | 177 | ||
178 | --------------------------- | 178 | --------------------------- |
179 | 179 | ||
180 | What: Unused EXPORT_SYMBOL/EXPORT_SYMBOL_GPL exports | ||
181 | (temporary transition config option provided until then) | ||
182 | The transition config option will also be removed at the same time. | ||
183 | When: before 2.6.19 | ||
184 | Why: Unused symbols are both increasing the size of the kernel binary | ||
185 | and are often a sign of "wrong API" | ||
186 | Who: Arjan van de Ven <arjan@linux.intel.com> | ||
187 | |||
188 | --------------------------- | ||
189 | |||
180 | What: remove EXPORT_SYMBOL(tasklist_lock) | 190 | What: remove EXPORT_SYMBOL(tasklist_lock) |
181 | When: August 2006 | 191 | When: August 2006 |
182 | Files: kernel/fork.c | 192 | Files: kernel/fork.c |