[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADVnQykGAG4_dSrVXLn0UQesNHMqWpPtHXwe1JoPsTWgy-NQsg@mail.gmail.com>
Date: Wed, 21 Jan 2026 11:19:50 -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 2/2] tcp: move tcp_rate_check_app_limited() to tcp.c
On Wed, Jan 21, 2026 at 4:59 AM Eric Dumazet <edumazet@...gle.com> wrote:
>
> tcp_rate_check_app_limited() is used from tcp_sendmsg_locked()
> fast path and from other callers.
>
> Move it to tcp.c so that it can be inlined in tcp_sendmsg_locked().
>
> Small increase of code, for better TCP performance.
>
> $ scripts/bloat-o-meter -t vmlinux.old vmlinux.new
> add/remove: 0/0 grow/shrink: 1/0 up/down: 87/0 (87)
> Function old new delta
> tcp_sendmsg_locked 4217 4304 +87
> Total: Before=22566462, After=22566549, 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