Re: PATCH 2.4.17.2: make ext2 smaller

From: Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Date: Sun Dec 02 2001 - 21:53:08 EST


Jeff Garzik <jgarzik@mandrakesoft.com> said:
> This patch applies an obvious technique to the kernel: increase the
> amount of code compiled in a single compilation unit, to increase the
> overall knowledge the compiler has of the code, to allow for better
> optimization and dead code removal. KDE does this, with definite
> success, though they definitely are not the first to do this.

[...]

> Results from 2.4.17-pre2 plus the attached patch: 1135 bytes saved in
> vmlinux, simply from making all the functions static.

File size tells you nothing, it is influenced by symbol tables and
whatnot. What does size(1) say?

In any case, 1Kb out of 2Mb is 0.05%...

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile                               +56 32 672616

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



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:20 EST