Eric Dumazet
7489aec8ee
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>
2010-05-31 16:41:35 +02:00
..
2010-05-13 15:02:08 +02:00
2010-05-11 18:31:17 +02:00
2010-03-30 22:02:32 +09:00
2010-05-13 15:16:27 +02:00
2010-05-31 16:41:35 +02:00
2010-05-11 18:33:37 +02:00
2010-05-11 18:35:27 +02:00
2010-05-11 18:31:17 +02:00
2010-05-11 18:35:27 +02:00
2010-05-11 18:31:17 +02:00
2010-05-11 18:31:17 +02:00
2010-05-11 18:31:17 +02:00
2010-05-11 18:31:17 +02:00
2010-05-11 18:31:17 +02:00
2010-05-11 18:31:17 +02:00
2010-05-11 18:31:17 +02:00
2010-05-13 15:02:08 +02:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-03-16 15:17:23 +01:00
2009-02-18 18:39:31 +01:00
2010-04-23 12:34:56 +02:00
2010-05-13 15:02:08 +02:00
2010-02-15 18:13:33 +01:00
2010-02-18 19:04:44 +01:00
2007-11-07 04:08:23 -08:00
2010-03-30 22:02:32 +09:00
2010-01-11 11:49:51 +01:00
2010-05-13 15:02:08 +02:00
2010-03-30 22:02:32 +09:00
2008-10-31 00:53:08 -07:00
2010-02-15 18:13:33 +01:00
2008-08-18 21:32:32 -07:00
2008-04-14 11:15:54 +02:00
2008-04-14 11:15:54 +02:00
2008-04-14 11:15:53 +02:00
2009-06-09 18:05:28 -07:00
2008-04-14 11:15:53 +02:00
2008-04-14 11:15:53 +02:00
2008-04-14 11:15:53 +02:00
2008-04-14 11:15:53 +02:00
2010-05-11 18:31:17 +02:00
2010-02-11 12:29:38 +01:00
2010-05-13 15:02:08 +02:00
2010-05-13 15:02:08 +02:00
2010-04-13 11:25:41 +02:00