mbox series

[net-next,0/2] tcp: avoid indirect call in __sk_stream_memory_free()

Message ID 20201113150809.3443527-1-eric.dumazet@gmail.com (mailing list archive)
Headers show
Series tcp: avoid indirect call in __sk_stream_memory_free() | expand

Message

Eric Dumazet Nov. 13, 2020, 3:08 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

Small improvement for CONFIG_RETPOLINE=y, when dealing with TCP sockets.

Eric Dumazet (2):
  tcp: uninline tcp_stream_memory_free()
  tcp: avoid indirect call to tcp_stream_memory_free()

 include/net/sock.h  |  8 ++++++--
 include/net/tcp.h   | 13 +------------
 net/ipv4/tcp_ipv4.c | 14 ++++++++++++++
 3 files changed, 21 insertions(+), 14 deletions(-)

Comments

Jakub Kicinski Nov. 15, 2020, 12:11 a.m. UTC | #1
On Fri, 13 Nov 2020 07:08:07 -0800 Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@google.com>
> 
> Small improvement for CONFIG_RETPOLINE=y, when dealing with TCP sockets.

Applied, thank you!