Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1727968

RE: [PATCH] fsl/fman: make arrays port_ids static, reduces object code size

From Madalin-cristian Bucur <madalin.bucur@nxp.com>
Newsgroups linux.kernel
Subject RE: [PATCH] fsl/fman: make arrays port_ids static, reduces object code size
Date 2017-09-07 09:20 +0200
Message-ID <umZgv-5bg-15@gated-at.bofh.it> (permalink)
References <ukxHI-69n-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> -----Original Message-----
> From: Colin King [mailto:colin.king@canonical.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@canonical.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@canonical.com>

Thanks,
Madalin

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] fsl/fman: make arrays port_ids static, reduces object code size Colin King <colin.king@canonical.com> - 2017-08-31 15:30 +0200
  RE: [PATCH] fsl/fman: make arrays port_ids static, reduces object  code size Madalin-cristian Bucur <madalin.bucur@nxp.com> - 2017-09-07 09:20 +0200

csiph-web