[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AM5PR0402MB269115B69D04CEF3EC125855EC940@AM5PR0402MB2691.eurprd04.prod.outlook.com>
Date: Thu, 7 Sep 2017 07:14:12 +0000
From: Madalin-cristian Bucur <madalin.bucur@....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>
Subject: RE: [PATCH] fsl/fman: make arrays port_ids static, reduces object
code size
> -----Original Message-----
> From: Colin King [mailto:colin.king@...onical.com]
> Sent: Thursday, August 31, 2017 4:25 PM
> Subject: [PATCH] fsl/fman: make arrays port_ids static, reduces object
> code size
>
> From: Colin Ian King <colin.king@...onical.com>
>
> Don't populate the arrays port_ids on the stack, instead make them static.
> Makes the object code smaller by over 700 bytes:
>
> Before:
> text data bss dec hex filename
> 28785 5832 192 34809 87f9 fman.o
>
> After:
> text data bss dec hex filename
> 27921 5992 192 34105 8539 fman.o
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Thanks,
Madalin
Powered by blists - more mailing lists