lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 14 Sep 2020 22:52:54 +0200 From: Rikard Falkeborn <rikard.falkeborn@...il.com> To: Joe Perches <joe@...ches.com> Cc: Rikard Falkeborn <rikard.falkeborn@...il.com>, "David S. Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 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 Sun, Sep 13, 2020 at 10:27:01PM -0700, Joe Perches wrote: > 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? > > Inspection, aided by some semi-clever greping.
Powered by blists - more mailing lists