diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-01-21 12:59:22 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-23 05:28:48 +0300 |
| commit | b814bdcecd7990d85d42e19cff6ce0c12f146330 (patch) | |
| tree | e5dada62a5bded70eb784cc0654abf4976ae98cf /include/linux/string.h | |
| parent | 3b87882bb399bf6d1900a1c2cc8dde65d336680a (diff) | |
| download | linux-b814bdcecd7990d85d42e19cff6ce0c12f146330.tar.xz | |
tcp: move tcp_rate_gen to tcp_input.c
This function is called from one caller only, in TCP fast path.
Move it to tcp_input.c so that compiler can inline it.
$ scripts/bloat-o-meter -t vmlinux.old vmlinux.new
add/remove: 0/2 grow/shrink: 1/0 up/down: 226/-300 (-74)
Function old new delta
tcp_ack 5405 5631 +226
__pfx_tcp_rate_gen 16 - -16
tcp_rate_gen 284 - -284
Total: Before=22566536, After=22566462, chg -0.00%
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Link: https://patch.msgid.link/20260121095923.3134639-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
