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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADVnQyn1U3Na8_xyToPyfjXzyRNNB9-Wxnd5XGY4s7idK=M7bw@mail.gmail.com>
Date: Wed, 21 Jan 2026 11:16:41 -0500
From: Neal Cardwell <ncardwell@...gle.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>, 
	Kuniyuki Iwashima <kuniyu@...gle.com>, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next 1/2] tcp: move tcp_rate_gen to tcp_input.c

On Wed, Jan 21, 2026 at 4:59 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> This function is called from one caller only, in TCP fast path.
>
> Move it to tcp_input.c so that compiler can inline it.
>
> $ scripts/bloat-o-meter -t vmlinux.old vmlinux.new
> add/remove: 0/2 grow/shrink: 1/0 up/down: 226/-300 (-74)
> Function                                     old     new   delta
> tcp_ack                                     5405    5631    +226
> __pfx_tcp_rate_gen                            16       -     -16
> tcp_rate_gen                                 284       -    -284
> Total: Before=22566536, After=22566462, chg -0.00%
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---

Reviewed-by: Neal Cardwell <ncardwell@...gle.com>

Thanks, Eric!

neal

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ