]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: struct xfrm6_tunnel in read_mostly section
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 30 Aug 2010 10:27:10 +0000 (10:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Aug 2010 20:50:46 +0000 (13:50 -0700)
commit73ed3806d2ad13d5b80429c1233f70659f0390d2
tree4f67088e323cd49b6748e15fba8951eabb80c308
parentc68ab6bb228ac3a32bd506dea6aff5e9b8f2051e
ipv6: struct xfrm6_tunnel in read_mostly section

tunnel6_handlers chain being scanned for each incoming packet,
make sure it doesnt share an often dirtied cache line.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c
net/ipv6/tunnel6.c
net/ipv6/xfrm6_tunnel.c