diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-01-21 12:59:23 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-23 05:28:48 +0300 |
| commit | bc1f0b1c98f518867efc5cc9c22181722be14532 (patch) | |
| tree | f99f7e79688f7a3d096d100caf04010deb82db44 /include/linux/xarray.h | |
| parent | b814bdcecd7990d85d42e19cff6ce0c12f146330 (diff) | |
| download | linux-bc1f0b1c98f518867efc5cc9c22181722be14532.tar.xz | |
tcp: move tcp_rate_check_app_limited() to tcp.c
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@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Link: https://patch.msgid.link/20260121095923.3134639-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions
