]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f14467d1e3104c9bf981574ac70410e15ef09fe
tree3356d8544975ac1c98147eda9e7ce9a8c2a25fae
parentac12b731fe0ba5b903cae8278b32f92635c3b1bf
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