Messages in this thread |  | | Date | Tue, 9 Oct 2001 11:53:48 -0400 (EDT) | From | "Richard B. Johnson" <> | Subject | Re: kernel size |
| |
On Tue, 9 Oct 2001, Horst von Brand wrote:
> "Richard B. Johnson" <root@chaos.analogic.com> said: > > On Tue, 9 Oct 2001, Ingo Oeser wrote: > > [...] > > > > strip -R .ident -R .comment -R .note > > > > > > is your friend. > > [...] > > > Yes! Wonderful... > > -rwxr-xr-x 1 root root 1571516 Oct 9 10:50 vmlinux > > -rwxr-xr-x 1 root root 1590692 Oct 1 13:26 vmlinux.OLD > > > > That got rid of some cruft. > > Yep. A WHOOPing 1.2% of the total. BTW, is this stuff ever being loaded > into RAM with the executable kernel, discarded on boot, or what? >
Yes. It shows in /proc/kcore. Just wasted. It does mean something on an embedded system.
It just __might__ mean that I can use a later kernel than 2.4.1 (they grow, you know). I'm mucking with things now.
> IMHO, it would be more productive to go after savings via .init*, and > perhaps bug the GCC/binutils people to merge strings... > --
It would be nice. I don't mind one advertisement in the kernel, but presently there is one for every file that was linked.
Cheers, Dick Johnson
Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).
I was going to compile a list of innovations that could be attributed to Microsoft. Once I realized that Ctrl-Alt-Del was handled in the BIOS, I found that there aren't any.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |