diff options
author | Yi-Hung Wei <yihung.wei@gmail.com> | 2018-07-02 17:33:43 -0700 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-07-18 11:26:36 +0200 |
commit | 34848d5c896ea1ab4e3c441b9c4fed39928ccbaf (patch) | |
tree | 3167b1fba32b9938934f77d5be7a1c6f346cd152 /Documentation/kdump | |
parent | 2ba39118c10ae3a7d3411c073485bba9576684cd (diff) | |
download | blackbird-obmc-linux-34848d5c896ea1ab4e3c441b9c4fed39928ccbaf.tar.gz blackbird-obmc-linux-34848d5c896ea1ab4e3c441b9c4fed39928ccbaf.zip |
netfilter: nf_conncount: Split insert and traversal
This patch is originally from Florian Westphal.
When we have a very coarse grouping, e.g. by large subnets, zone id,
etc, it's likely that we do not need to do tree rotation because
we'll find a node where we can attach new entry. Based on this
observation, we split tree traversal and insertion.
Later on, we can make traversal lockless (tree protected
by RCU), and add extra lock in the individual nodes to protect list
insertion/deletion, thereby allowing parallel insert/delete in different
tree nodes.
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/kdump')
0 files changed, 0 insertions, 0 deletions