[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAVpQUDQCgr1agsXm73pZLwWg24MgDVYrDmuj3tu4ZO-XZ0=Zg@mail.gmail.com>
Date: Mon, 26 Jan 2026 19:28:17 -0800
From: Kuniyuki Iwashima <kuniyu@...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>,
Neal Cardwell <ncardwell@...gle.com>, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next 2/3] tcp: move tcp_rack_update_reo_wnd() to tcp_input.c
On Mon, Jan 26, 2026 at 7:21 PM Eric Dumazet <edumazet@...gle.com> wrote:
>
> tcp_rack_update_reo_wnd() is called only once from tcp_ack()
>
> Move it to tcp_input.c so that it can be inlined by the compiler
> to save space and cpu cycles.
>
> $ scripts/bloat-o-meter -t vmlinux.old vmlinux.new
> add/remove: 0/2 grow/shrink: 1/0 up/down: 110/-153 (-43)
> Function old new delta
> tcp_ack 5631 5741 +110
> __pfx_tcp_rack_update_reo_wnd 16 - -16
> tcp_rack_update_reo_wnd 137 - -137
> Total: Before=22572723, After=22572680, chg -0.00%
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@...gle.com>
Powered by blists - more mailing lists