]> git.baikalelectronics.ru Git - kernel.git/commit
net: struct xfrm_tunnel in read_mostly section
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 30 Aug 2010 07:04:14 +0000 (07:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Aug 2010 20:50:45 +0000 (13:50 -0700)
commitc68ab6bb228ac3a32bd506dea6aff5e9b8f2051e
treee8fcde2ef93efa62437aff893477098a1bf8b6a0
parent26d9fec875d986e31b69603f35419cc66174518c
net: struct xfrm_tunnel in read_mostly section

tunnel4_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/ipv4/ipip.c
net/ipv4/tunnel4.c
net/ipv4/xfrm4_tunnel.c
net/ipv6/sit.c