diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-01-23 11:16:05 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-01-27 14:58:13 +0100 |
| commit | a18056a6c11cab562a77d16b5931f6fdf55e7ec9 (patch) | |
| tree | 930875315fd7405afa0ab3578cfe3e9880c92e75 /include/linux/seqlock_api.h | |
| parent | 4778a04c1574babd8a79561d60cd5e243585ffaa (diff) | |
tcp: move sk_forced_mem_schedule() to tcp.c
TCP fast path can (auto)inline this helper, instead
of (auto)inling it from tcp_send_fin().
No change of overall code size, but tcp_sendmsg() is faster.
$ scripts/bloat-o-meter -t vmlinux.old vmlinux.new
add/remove: 0/0 grow/shrink: 1/1 up/down: 141/-140 (1)
Function old new delta
tcp_stream_alloc_skb 216 357 +141
tcp_send_fin 688 548 -140
Total: Before=22236729, After=22236730, chg +0.00%
BTW, we might change tcp_send_fin() to use tcp_stream_alloc_skb().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Link: https://patch.msgid.link/20260123111605.4089200-1-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/seqlock_api.h')
0 files changed, 0 insertions, 0 deletions
