[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1458944964-12890-1-git-send-email-edumazet@google.com>
Date: Fri, 25 Mar 2016 15:29:22 -0700
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>,
Tom Herbert <tom@...bertland.com>
Subject: [RFC net-next 0/2] udp: use standard RCU rules
Add a generic facility for sockets to be freed afer an RCU grace period.
Then UDP is changed to no longer use SLAB_DESTROY_BY_RCU,
in order to speedup rx processing for traffic encapsulated in UDP.
I prepared a patch to convert TCP listeners to this infrastructure,
but will post it later, since Tom was mostly interested in UDP.
Eric Dumazet (2):
net: add SOCK_RCU_FREE socket flag
udp: No longer use SLAB_DESTROY_BY_RCU
include/linux/udp.h | 8 +-
include/net/sock.h | 14 +--
include/net/udp.h | 2 +-
net/core/sock.c | 14 ++-
net/ipv4/udp.c | 290 +++++++++++++++-------------------------------------
net/ipv4/udp_diag.c | 18 ++--
net/ipv6/udp.c | 194 +++++++++++------------------------
7 files changed, 177 insertions(+), 363 deletions(-)
--
2.8.0.rc3.226.g39d4020
Powered by blists - more mailing lists