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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADVnQymuxV2WWiTKAoXtVuFKXPc_Jih=Saqzp7pxO3GC98-_kg@mail.gmail.com>
Date: Thu, 22 Jan 2026 10:19:14 -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] tcp: move tcp_stream_memory_free() to tcp.c

On Thu, Jan 22, 2026 at 4:02 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> Moving tcp_stream_memory_free() to tcp.c allows the compiler
> to (auto)inline it from tcp_poll() and tcp_sendmsg_locked()
> for better performance.
>
> $ scripts/bloat-o-meter -t vmlinux.old vmlinux.new
> add/remove: 0/0 grow/shrink: 2/0 up/down: 118/0 (118)
> Function                                     old     new   delta
> tcp_poll                                     840     923     +83
> tcp_sendmsg_locked                          4217    4252     +35
> Total: Before=22573095, After=22573213, 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