Re: [PATCH][next][V2] EDAC, pnd2: Make read-only const array intlv static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 19, 2024 at 06:04:27PM +0100, Colin Ian King wrote:
> Don't populate the const read-only array intlv on the stack at
> run time, instead make it static. This also shrinks the object size:
> 
> $ size pnd2_edac.o.*
> 
>    text    data     bss     dec     hex filename
>   15632     264    1384   17280    4380 pnd2_edac.o.new
>   15644     264    1384   17292    438c pnd2_edac.o.old
> 
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
> Reviewed-by: Qiuxu Zhuo <qiuxu.zhuo@xxxxxxxxx>
> ---
> 
> V2: add note showing that this change shrinks the object size as
>     suggested by Qiuxu Zhuo.
> 
> ---
>  drivers/edac/pnd2_edac.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux