aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-11-22 14:44:19 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2016-12-06 21:42:19 +0100
commitae0ac0ed6fcf5af3be0f63eb935f483f44a402d2 (patch)
treebdc9adb5d4744f958630b4e56defc818c905dbe3 /COPYING
parentnetfilter: x_tables: pass xt_counters struct to counter allocator (diff)
downloadlinux-dev-ae0ac0ed6fcf5af3be0f63eb935f483f44a402d2.tar.xz
linux-dev-ae0ac0ed6fcf5af3be0f63eb935f483f44a402d2.zip
netfilter: x_tables: pack percpu counter allocations
instead of allocating each xt_counter individually, allocate 4k chunks and then use these for counter allocation requests. This should speed up rule evaluation by increasing data locality, also speeds up ruleset loading because we reduce calls to the percpu allocator. As Eric points out we can't use PAGE_SIZE, page_allocator would fail on arches with 64k page size. Suggested-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions