lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49A25E93.10708@cn.fujitsu.com>
Date:	Mon, 23 Feb 2009 16:30:11 +0800
From:	Li Zefan <lizf@...fujitsu.com>
To:	Paul Menage <menage@...gle.com>
CC:	Jesper Juhl <jj@...osbits.net>, linux-kernel@...r.kernel.org,
	Stephen Hemminger <shemminger@...ux-foundation.org>,
	Paul Jackson <pj@....com>, Simon Derr <simon.derr@...l.net>
Subject: Re: [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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ