From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>, netdev@vger.kernel.org
Cc: Stephen Hemminger <stephen@networkplumber.org>,
Willem de Bruijn <willemdebruijn.kernel@gmail.com>,
Jason Wang <jasowang@redhat.com>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
linux-kernel@vger.kernel.org (open list)
Subject: Re: [PATCH] net/tun: use reciprocal_scale
Date: Sat, 27 Jan 2024 11:06:22 -0500 [thread overview]
Message-ID: <65b529fee37d5_3a9e0b294d9@willemb.c.googlers.com.notmuch> (raw)
In-Reply-To: <20240126002550.169608-1-stephen@networkplumber.org>
Stephen Hemminger wrote:
> Use the inline function reciprocal_scale rather than open coding
> the scale optimization. Also, remove unnecessary initializations.
> Resulting compiled code is unchanged (according to godbolt).
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Targeting net-next
Reviewed-by: Willem de Bruijn <willemb@google.com>
next prev parent reply other threads:[~2024-01-27 16:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-26 0:25 Stephen Hemminger
2024-01-27 16:06 ` Willem de Bruijn [this message]
2024-01-29 3:01 ` Jason Wang
2024-01-30 11:10 ` patchwork-bot+netdevbpf
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=65b529fee37d5_3a9e0b294d9@willemb.c.googlers.com.notmuch \
--to=willemdebruijn.kernel@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jasowang@redhat.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stephen@networkplumber.org \
/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
all inboxes | Powered by JetHome®