[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260121095923.3134639-1-edumazet@google.com>
Date: Wed, 21 Jan 2026 09:59:21 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Simon Horman <horms@...nel.org>, Neal Cardwell <ncardwell@...gle.com>,
Kuniyuki Iwashima <kuniyu@...gle.com>, netdev@...r.kernel.org, eric.dumazet@...il.com,
Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/2] tcp: remove tcp_rate.c
Move tcp_rate_gen() to tcp_input.c and tcp_rate_check_app_limited()
to tcp.c for better code generation.
tcp_rate.c was interesting from code maintenance perspective
but was adding cpu costs.
Eric Dumazet (2):
tcp: move tcp_rate_gen to tcp_input.c
tcp: move tcp_rate_check_app_limited() to tcp.c
include/net/tcp.h | 5 +-
net/ipv4/Makefile | 2 +-
net/ipv4/tcp.c | 18 ++++++
net/ipv4/tcp_input.c | 110 ++++++++++++++++++++++++++++++++++++
net/ipv4/tcp_rate.c | 130 -------------------------------------------
5 files changed, 130 insertions(+), 135 deletions(-)
delete mode 100644 net/ipv4/tcp_rate.c
base-commit: d8f87aa5fa0a4276491fa8ef436cd22605a3f9ba
--
2.52.0.457.g6b5491de43-goog
Powered by blists - more mailing lists