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] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 11 Jul 2017 18:10:25 +0100
From:   John Garry <john.garry@...wei.com>
To:     Colin King <colin.king@...onical.com>,
        "James E . J . Bottomley" <jejb@...ux.vnet.ibm.com>,
        "Martin K . Petersen" <martin.petersen@...cle.com>,
        <linux-scsi@...r.kernel.org>
CC:     <kernel-janitors@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        Linuxarm <linuxarm@...wei.com>
Subject: Re: [PATCH] scsi: hisi_sas: make several const arrays static

On 11/07/2017 13:11, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> Don't populate various tables on the stack but make them static const.
> Makes the object code smaller by over 280 bytes:
>
> Before:
>    text	   data	    bss	    dec	    hex	filename
>   39887	   5080	     64	  45031	   afe7	hisi_sas_v2_hw.o
>
> After:
>    text	   data	    bss	    dec	    hex	filename
>   39318	   5368	     64	  44750	   aece	hisi_sas_v2_hw.o
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---

Acked-by: John Garry <john.garry@...wei.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ