From: Rikard Falkeborn <rikard.falkeborn@gmail.com>
To: Joe Perches <joe@perches.com>
Cc: Rikard Falkeborn <rikard.falkeborn@gmail.com>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Jerin Jacob <jerinj@marvell.com>,
Geetha sowjanya <gakula@marvell.com>,
Linu Cherian <lcherian@marvell.com>,
Sunil Goutham <sgoutham@marvell.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next] octeontx2-af: Constify npc_kpu_profile_{action,cam}
Date: Mon, 14 Sep 2020 22:52:54 +0200 [thread overview]
Message-ID: <20200914205254.GA2677@rikard> (raw)
In-Reply-To: <c6568e2e4450633136c6e7d85f29ed68aa01a32f.camel@perches.com>
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.
prev parent reply other threads:[~2020-09-14 20:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 22:00 [PATCH net-next] octeontx2-af: Constify npc_kpu_profile_{action,cam} Rikard Falkeborn
2020-09-12 0:13 ` David Miller
2020-09-14 5:27 ` Joe Perches
2020-09-14 20:52 ` Rikard Falkeborn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200914205254.GA2677@rikard \
--to=rikard.falkeborn@gmail.com \
--cc=davem@davemloft.net \
--cc=gakula@marvell.com \
--cc=jerinj@marvell.com \
--cc=joe@perches.com \
--cc=kuba@kernel.org \
--cc=lcherian@marvell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sgoutham@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).