diff options
author | Florian Westphal <fw@strlen.de> | 2017-10-12 01:13:51 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-10-24 18:01:50 +0200 |
commit | d13e7b2e65f6dfbe97b845d75741a970181b9fec (patch) | |
tree | c0387e21f2af12e91f485ac0c944cefab9359a2a /net/sched/em_nbyte.c | |
parent | netfilter: x_tables: make xt_replace_table wait until old rules are not used ... (diff) | |
download | linux-d13e7b2e65f6dfbe97b845d75741a970181b9fec.tar.xz linux-d13e7b2e65f6dfbe97b845d75741a970181b9fec.zip |
netfilter: x_tables: don't use seqlock when fetching old counters
after previous commit xt_replace_table will wait until all cpus
had even seqcount (i.e., no cpu is accessing old ruleset).
Add a 'old' counter retrival version that doesn't synchronize counters.
Its not needed, the old counters are not in use anymore at this point.
This speeds up table replacement on busy systems with large tables
(and many cores).
Cc: Dan Williams <dcbw@redhat.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/sched/em_nbyte.c')
0 files changed, 0 insertions, 0 deletions