Thread (2 messages) 2 messages, 2 authors, 2019-10-07

Re: [PATCH] net: hns: make arrays static, makes object smaller

flat view

From: David Miller <davem@davemloft.net>
Date: 2019-10-07 14:01:00
Also in: kernel-janitors, lkml

From: Colin King <redacted>
Date: Mon,  7 Oct 2019 11:55:10 +0100
From: Colin Ian King <redacted>

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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help