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


Groups > linux.kernel > #1686768

Re: [PATCH] dccp: make const array error_code static

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] dccp: make const array error_code static
Date 2017-07-13 18:30 +0200
Message-ID <u2Pa2-7UJ-23@gated-at.bofh.it> (permalink)
References <u2KtI-4Y8-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Colin King <colin.king@canonical.com>
Date: Thu, 13 Jul 2017 12:22:24 +0100

> From: Colin Ian King <colin.king@canonical.com>
> 
> Don't populate array error_code on the stack but make it static. Makes
> the object code smaller by almost 250 bytes:
> 
> Before:
>    text	   data	    bss	    dec	    hex	filename
>   10366	    983	      0	  11349	   2c55	net/dccp/input.o
> 
> After:
>    text	   data	    bss	    dec	    hex	filename
>   10161	   1039	      0	  11200	   2bc0	net/dccp/input.o
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied.

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


Thread

[PATCH] dccp: make const array error_code static Colin King <colin.king@canonical.com> - 2017-07-13 13:30 +0200
  Re: [PATCH] dccp: make const array error_code static David Miller <davem@davemloft.net> - 2017-07-13 18:30 +0200

csiph-web