From: ebiederm@xmission.com (Eric W. Biederman)
To: David Miller <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, jamal <hadi@cyberus.ca>,
Daniel Lezcano <dlezcano@fr.ibm.com>
Subject: [PATCH 0/7] Batched netns improvements.
Date: Thu, 03 Dec 2009 04:27:08 -0800 [thread overview]
Message-ID: <m11vjcnsyr.fsf@fess.ebiederm.org> (raw)
This series of patches takes my simple 4k network namespace exit test
from about 44s to 1.6s, with a minuscule increase in code side.
While batching has given me big improvements there are a few
changes in there that improve the performance of cleaning up
a single network namespace.
Eric
include/net/fib_rules.h | 3 +-
include/net/inet_timewait_sock.h | 6 +-
include/net/net_namespace.h | 2 +
include/net/netns/xfrm.h | 1 +
net/core/dev.c | 25 +++++++
net/core/fib_rules.c | 36 +++++++++-
net/core/net_namespace.c | 138 ++++++++++++++++----------------------
net/decnet/dn_rules.c | 22 +++---
net/ipv4/fib_rules.c | 12 +---
net/ipv4/inet_timewait_sock.c | 45 ++++++++-----
net/ipv4/tcp_ipv4.c | 11 ++-
net/ipv6/fib6_rules.c | 22 ++----
net/ipv6/tcp_ipv6.c | 11 ++-
net/xfrm/xfrm_user.c | 18 +++--
14 files changed, 200 insertions(+), 152 deletions(-)
next reply other threads:[~2009-12-03 12:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 12:27 Eric W. Biederman [this message]
2009-12-03 12:29 ` [PATCH 1/7] net: Add support for batching network namespace cleanups Eric W. Biederman
2009-12-03 12:29 ` [PATCH 2/7] net: Move network device exit batching Eric W. Biederman
2009-12-03 12:29 ` [PATCH 3/7] net: Allow xfrm_user_net_exit to batch efficiently Eric W. Biederman
2009-12-03 12:29 ` [PATCH 4/7] netns: Add an explicit rcu_barrier to unregister_pernet_{device|subsys} Eric W. Biederman
2009-12-03 12:29 ` [PATCH 5/7] net: Allow fib_rule_unregister to batch Eric W. Biederman
2009-12-03 12:29 ` [PATCH 6/7] net: Use rcu lookups in inet_twsk_purge Eric W. Biederman
2009-12-03 13:17 ` Eric Dumazet
2009-12-03 12:29 ` [PATCH 7/7] net: Batch inet_twsk_purge Eric W. Biederman
2009-12-03 13:23 ` Eric Dumazet
2009-12-03 13:36 ` Eric W. Biederman
2009-12-03 20:24 ` David Miller
2009-12-03 20:45 ` Eric W. Biederman
2009-12-03 13:06 ` [PATCH 0/7] Batched netns improvements jamal
2009-12-03 13:23 ` Eric W. Biederman
2009-12-03 20:24 ` David Miller
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=m11vjcnsyr.fsf@fess.ebiederm.org \
--to=ebiederm@xmission.com \
--cc=davem@davemloft.net \
--cc=dlezcano@fr.ibm.com \
--cc=hadi@cyberus.ca \
--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).