lkml.org 
[lkml]   [2005]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Move GFP_KERNEL use out of line to shrink text
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-09-15 13:45    [W:0.083 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site