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]
Date:   Mon, 07 Oct 2019 16:00:57 +0200 (CEST)
From:   David Miller <davem@...emloft.net>
To:     colin.king@...onical.com
Cc:     yisen.zhuang@...wei.com, salil.mehta@...wei.com,
        netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: hns: make arrays static, makes object smaller

From: Colin King <colin.king@...onical.com>
Date: Mon,  7 Oct 2019 11:55:10 +0100

> From: Colin Ian King <colin.king@...onical.com>
> 
> Don't populate the arrays port_map and sl_map on the stack but
> instead make them static. Makes the object code smaller by 64 bytes.
> 
> Before:
>    text	   data	    bss	    dec	    hex	filename
>   49575	   6872	     64	  56511	   dcbf	hisilicon/hns/hns_dsaf_main.o
> 
> After:
>    text	   data	    bss	    dec	    hex	filename
>   49350	   7032	     64	  56446	   dc7e	hisilicon/hns/hns_dsaf_main.o
> 
> (gcc version 9.2.1, amd64)
> 
> Signed-off-by: Colin Ian King <colin.king@...onical.com>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ