]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
net: better pcpu data alignment
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 4 Nov 2011 23:19:28 +0000 (23:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Nov 2011 20:10:59 +0000 (15:10 -0500)
commit8ce120f11898c921329a5f618d01dcc1e8e69cac
tree471821e87eb020e4e9dcf66124e862e7471220a1
parent2bc8ca40f951163b3bb75949479e2755c12c1b96
net: better pcpu data alignment

Tunnels can force an alignment of their percpu data to reduce number of
cache lines used in fast path, or read in .ndo_get_stats()

percpu_alloc() is a very fine grained allocator, so any small hole will
be used anyway.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c
net/ipv4/ip_gre.c
net/ipv4/ipip.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c