From: Colin King
Date: Fri, 22 Sep 2017 16:50:23 +0100
> From: Colin Ian King
>
> Don't populate const array ver_list on the stack, instead make it
> static. Makes the object code smaller by over 400 bytes:
>
> Before:
>text data bss dec hex filename
> 18444
kernel.org; linux-ker...@vger.kernel.org
> Subject: [PATCH] hv_netvsc: make const array ver_list static, reduces
> object code size
>
> From: Colin Ian King
>
> Don't populate const array ver_list on the stack, instead make it
> static. Makes the object code smaller by over
From: Colin Ian King
Don't populate const array ver_list on the stack, instead make it
static. Makes the object code smaller by over 400 bytes:
Before:
textdata bss dec hex filename
184443168 320 2193255ac drivers/net/hyperv/netvsc.o
After:
textdata