summaryrefslogtreecommitdiffstats
path: root/drivers/net/via-velocity.h
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-10-13 10:22:03 +0200
committerDavid S. Miller <davem@davemloft.net>2010-10-16 20:13:23 +0200
commit10da66f7552b3c7966c2f4f1f72009fb0b5539ec (patch)
tree517c39912a0aea9d4da3c3915c78e832dfbba855 /drivers/net/via-velocity.h
parentfib_trie: use fls() instead of open coded loop (diff)
downloadlinux-10da66f7552b3c7966c2f4f1f72009fb0b5539ec.tar.xz
linux-10da66f7552b3c7966c2f4f1f72009fb0b5539ec.zip
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>
Diffstat (limited to 'drivers/net/via-velocity.h')
0 files changed, 0 insertions, 0 deletions