Thread (2 messages) flat view 2 messages, 2 authors, 2019-09-07

Re: [PATCH] net: hns3: make array spec_opcode static const, makes object smaller

From: David Miller <davem@davemloft.net>
Date: 2019-09-07 16:03:29
Also in: kernel-janitors, lkml

From: Colin King <redacted>
Date: Fri,  6 Sep 2019 12:28:04 +0100
From: Colin Ian King <redacted>

Don't populate the array spec_opcode on the stack but instead make it
static const. Makes the object code smaller by 48 bytes.

Before:
   text	   data	    bss	    dec	    hex	filename
   6914	   1040	    128	   8082	   1f92	hns3/hns3vf/hclgevf_cmd.o

After:
   text	   data	    bss	    dec	    hex	filename
   6866	   1040	    128	   8034	   1f62	hns3/hns3vf/hclgevf_cmd.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