Re: [PATCH] Move GFP_KERNEL use out of line to shrink text

From: Paulo Marques
Date: Thu Sep 15 2005 - 06:43:26 EST


Denis Vlasenko wrote:
On Wednesday 14 September 2005 21:39, Roland Dreier wrote:

text data bss dec hex filename
24202272 7609162 1998512 33809946 203e61a vmlinux-before
24197561 7609474 1998512 33805547 203d4eb vmlinux-after

for a net savings of 4711 bytes of text (at a cost of 312 bytes of
data for some reason). With my usual config, the patched kernel boots
and runs fine.

FYI: "some reason" == KALLSYMS

312 bytes for a couple more symbols is too much to be justified from kallsyms alone.

In a 64 bit machine each new symbol should take about 8 bytes for the address + ~ half the size of the symbol name, which in this case would give at most about ~50 bytes.

I guess the rest should come from the extra EXPORT_SYMBOL's...

--
Paulo Marques - www.grupopie.com

The rule is perfect: in all matters of opinion our
adversaries are insane.
Mark Twain
-
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/