diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-05-31 16:41:35 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-05-31 16:41:35 +0200 |
commit | 7489aec8eed4f2f1eb3b4d35763bd3ea30b32ef5 (patch) | |
tree | fe2450679dc217183421e606b3912641545596bd /include/sound/pcm.h | |
parent | netfilter: don't xt_jumpstack_alloc twice in xt_register_table (diff) | |
download | linux-7489aec8eed4f2f1eb3b4d35763bd3ea30b32ef5.tar.xz linux-7489aec8eed4f2f1eb3b4d35763bd3ea30b32ef5.zip |
netfilter: xtables: stackptr should be percpu
commit f3c5c1bfd4 (netfilter: xtables: make ip_tables reentrant)
introduced a performance regression, because stackptr array is shared by
all cpus, adding cache line ping pongs. (16 cpus share a 64 bytes cache
line)
Fix this using alloc_percpu()
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-By: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions