From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Cc: gscrivan@redhat.com
Subject: [PATCH nf-next 0/3] netfilter: reduce netns create/delete cost
Date: Fri, 1 Dec 2017 00:21:01 +0100 [thread overview]
Message-ID: <20171130232104.541-1-fw@strlen.de> (raw)
This patch series removes all synchronize_net() calls from netfilter core
to speed up net namespace create/delete rate.
Freeing of hooks is moved to call_rcu at the cost of additional 24 bytes
at the end of each rule blob.
include/linux/netfilter.h | 19 +++++--
include/net/netfilter/nf_queue.h | 2
net/netfilter/core.c | 99 ++++++++++++---------------------------
net/netfilter/nf_internals.h | 2
net/netfilter/nf_queue.c | 7 --
net/netfilter/nfnetlink_queue.c | 9 ---
6 files changed, 53 insertions(+), 85 deletions(-)
next reply other threads:[~2017-11-30 23:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-30 23:21 Florian Westphal [this message]
2017-11-30 23:21 ` [PATCH nf-next 1/3] netfilter: core: make nf_unregister_net_hooks simple wrapper again Florian Westphal
2017-11-30 23:21 ` [PATCH nf-next 2/3] netfilter: core: remove synchronize_net call if nfqueue is used Florian Westphal
2017-11-30 23:21 ` [PATCH nf-next 3/3] netfilter: core: free hooks with call_rcu Florian Westphal
2017-12-06 8:19 ` [PATCH nf-next 0/3] netfilter: reduce netns create/delete cost Pablo Neira Ayuso
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=20171130232104.541-1-fw@strlen.de \
--to=fw@strlen.de \
--cc=gscrivan@redhat.com \
--cc=netfilter-devel@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).