Thread (6 messages) 6 messages, 3 authors, 2026-01-23
STALE149d

[PATCH net-next 0/2] tcp: remove tcp_rate.c

From: Eric Dumazet <edumazet@google.com>
Date: 2026-01-21 09:59:26

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help