[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLUPR0701MB20048AE8BCD5DFB943FB96298DAF0@BLUPR0701MB2004.namprd07.prod.outlook.com>
Date: Wed, 12 Jul 2017 13:42:03 +0000
From: "Mintz, Yuval" <Yuval.Mintz@...ium.com>
To: Colin King <colin.king@...onical.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Elior, Ariel" <Ariel.Elior@...ium.com>
Subject: RE: [PATCH] net: broadcom: bnx2x: make a couple of const arrays
static
> Don't populate various tables on the stack but make them static const.
> Makes the object code smaller by nearly 200 bytes:
>
> Before:
> text data bss dec hex filename
> 113468 11200 0 124668 1e6fc bnx2x_ethtool.o
>
> After:
> text data bss dec hex filename
> 113129 11344 0 124473 1e639 bnx2x_ethtool.o
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Thanks Colin.
Acked-by: Yuval Mintz <Yuval.Mintz@...ium.com>
Powered by blists - more mailing lists