lkml.org 
[lkml]   [2009]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Remove some pointless conditionals before kfree() in kernel/cgroup.c
>> Reduces object file size a bit :
>>
>> Before:
>> $ size kernel/cgroup.o
>> text data bss dec hex filename
>> 21593 7804 4924 34321 8611 kernel/cgroup.o
>> After:
>> $ size kernel/cgroup.o
>> text data bss dec hex filename
>> 21537 7744 4924 34205 859d kernel/cgroup.o
>
> Thanks. I'm a bit surprised that it also shrunk the data segment size
> (and in fact, by more than the text segment size). Any idea how that
> came about?
>

A bit odd..

Here is the result on my x86_32:
text data bss dec hex filename
14118 1804 4960 20882 5192 kernel/cgroup.o.orig
text data bss dec hex filename
14114 1804 4960 20878 518e kernel/cgroup.o

And on IA64:
text data bss dec hex filename
42399 2712 5616 50727 c627 kernel/cgroup.o.orig
text data bss dec hex filename
42367 2712 5616 50695 c607 kernel/cgroup.o

No change in data segment.


\
 
 \ /
  Last update: 2009-02-23 09:33    [W:0.051 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site