netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: "David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>
Cc: netdev <netdev@vger.kernel.org>,
	Eric Dumazet <edumazet@google.com>,
	Eric Dumazet <eric.dumazet@gmail.com>
Subject: [PATCH net-next 0/2] tcp: avoid indirect call in __sk_stream_memory_free()
Date: Fri, 13 Nov 2020 07:08:07 -0800	[thread overview]
Message-ID: <20201113150809.3443527-1-eric.dumazet@gmail.com> (raw)

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(-)

-- 
2.29.2.299.gdc1121823c-goog


             reply	other threads:[~2020-11-13 15:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-13 15:08 Eric Dumazet [this message]
2020-11-13 15:08 ` [PATCH net-next 1/2] tcp: uninline tcp_stream_memory_free() Eric Dumazet
2020-11-13 15:08 ` [PATCH net-next 2/2] tcp: avoid indirect call to tcp_stream_memory_free() Eric Dumazet
2020-11-15  0:11 ` [PATCH net-next 0/2] tcp: avoid indirect call in __sk_stream_memory_free() Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201113150809.3443527-1-eric.dumazet@gmail.com \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).