[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c6568e2e4450633136c6e7d85f29ed68aa01a32f.camel@perches.com>
Date: Sun, 13 Sep 2020 22:27:01 -0700
From: Joe Perches <joe@...ches.com>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: Jerin Jacob <jerinj@...vell.com>,
Geetha sowjanya <gakula@...vell.com>,
Linu Cherian <lcherian@...vell.com>,
Sunil Goutham <sgoutham@...vell.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] octeontx2-af: Constify
npc_kpu_profile_{action,cam}
On Sat, 2020-09-12 at 00:00 +0200, Rikard Falkeborn wrote:
> These are never modified, so constify them to allow the compiler to
> place them in read-only memory. This moves about 25kB to read-only
> memory as seen by the output of the size command.
Nice.
Did you find this by tool or inspection?
Powered by blists - more mailing lists