[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191007.160103.449489515941198973.davem@davemloft.net>
Date: Mon, 07 Oct 2019 16:01:03 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: yisen.zhuang@...wei.com, salil.mehta@...wei.com,
tanhuazhong@...wei.com, linyunsheng@...wei.com,
lipeng321@...wei.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: hns3: make array tick_array static, makes object
smaller
From: Colin King <colin.king@...onical.com>
Date: Mon, 7 Oct 2019 12:09:35 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> Don't populate the array tick_array on the stack but instead make it
> static. Makes the object code smaller by 29 bytes.
>
> Before:
> text data bss dec hex filename
> 19191 432 0 19623 4ca7 hisilicon/hns3/hns3pf/hclge_tm.o
>
> After:
> text data bss dec hex filename
> 19098 496 0 19594 4c8a hisilicon/hns3/hns3pf/hclge_tm.o
>
> (gcc version 9.2.1, amd64)
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied.
Powered by blists - more mailing lists