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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170919185404.GA828415@devbig577.frc2.facebook.com>
Date:   Tue, 19 Sep 2017 11:54:04 -0700
From:   Tejun Heo <tj@...nel.org>
To:     Colin King <colin.king@...onical.com>
Cc:     linux-ide@...r.kernel.org, kernel-janitors@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH][V3] libata: make static arrays const, reduces object
 code size

On Tue, Sep 19, 2017 at 09:39:52AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
> 
> Don't populate const arrayis on the stack, instead make them static.
> Makes the object code smaller by over 260 bytes:
> 
> Before:
>    text	   data	    bss	    dec	    hex	filename
>   64864	   5948	   4128	  74940	  124bc	drivers/ata/libata-scsi.o
> 
> After:
>    text	   data	    bss	    dec	    hex	filename
>   64183	   6364	   4128	  74675	  123b3	drivers/ata/libata-scsi.o
> 
> Signed-off-by: Colin Ian King <colin.king@...onical.com>

Applied to libata/for-4.15.

Thanks.

-- 
tejun

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ