commit | 10da66f7552b3c7966c2f4f1f72009fb0b5539ec | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Oct 13 08:22:03 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 16 11:13:23 2010 -0700 |
tree | 517c39912a0aea9d4da3c3915c78e832dfbba855 | |
parent | 874ffa8f72444d6253d2669fed304875c128f86b [diff] |
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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>