From: Eric Dumazet Date: Mon, 31 May 2010 14:41:35 +0000 (+0200) Subject: netfilter: xtables: stackptr should be percpu X-Git-Tag: v2.6.35-rc2~64^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7489aec8eed4f2f1eb3b4d35763bd3ea30b32ef5;p=pandora-kernel.git 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 Acked-By: Jan Engelhardt Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed