netfilter: nf_tables: asynchronous release
authorFlorian Westphal <fw@strlen.de>
Wed, 29 Aug 2018 12:41:32 +0000 (14:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Sep 2018 09:40:07 +0000 (11:40 +0200)
commit0935d558840099b3679c67bb7468dc78fcbad940
tree3356d8544975ac1c98147eda9e7ce9a8c2a25fae
parent0ef235c71755c5f36c50282fcf2d7d08709be344
netfilter: nf_tables: asynchronous release

Release the committed transaction log from a work queue, moving
expensive synchronize_rcu out of the locked section and providing
opportunity to batch this.

On my test machine this cuts runtime of nft-test.py in half.
Based on earlier patch from Pablo Neira Ayuso.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c