Re: Remove unused exports and save 98Kb of kernel size

From: Takashi Iwai
Date: Mon Apr 03 2006 - 12:39:10 EST


At Sat, 01 Apr 2006 23:05:45 +0200,
Arjan van de Ven wrote:
>
> Hi,
>
> I've made a patch to remove all EXPORT_SYMBOL's that aren't used in the
> kernel; it's too big for the list so it can be found at
>
> http://www.kernelmorons.org/unexport.patch
>
> -rwxr-xr-x 1 root root 34476416 Apr 1 21:59 vmlinux.before
> -rwxr-xr-x 1 root root 34378112 Apr 1 22:48 vmlinux.after
>
> As you can see this saves 98Kb kernel size... that's not peanuts.
>
> Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxxx>

Please be careful, many removals in sound will break under certain
kernel config (e.g. CONFIG_ISA).


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