Re: [PATCH] Remove some pointless conditionals before kfree() in kernel/cgroup.c

From: Li Zefan
Date: Mon Feb 23 2009 - 03:30:19 EST


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