From: Eric Dumazet Date: Wed, 13 Oct 2010 08:22:03 +0000 (+0000) Subject: fib: avoid false sharing on fib_table_hash X-Git-Tag: v2.6.37-rc1~147^2~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10da66f7552b3c7966c2f4f1f72009fb0b5539ec;p=pandora-kernel.git fib: avoid false sharing on fib_table_hash While doing profile analysis, I found fib_hash_table was sometime in a cache line shared by a possibly often written kernel structure. (CONFIG_IP_ROUTE_MULTIPATH || !CONFIG_IPV6_MULTIPLE_TABLES) It's hard to detect because not easily reproductible. Make sure we allocate a full cache line to keep this shared in all cpus caches. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed