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>
This commit is contained in:
committed by
David S. Miller
parent
6dcd814bd0
commit
3ff2cfa55f
@@ -30,8 +30,8 @@
|
||||
#include <net/protocol.h>
|
||||
#include <net/xfrm.h>
|
||||
|
||||
static struct xfrm6_tunnel *tunnel6_handlers;
|
||||
static struct xfrm6_tunnel *tunnel46_handlers;
|
||||
static struct xfrm6_tunnel *tunnel6_handlers __read_mostly;
|
||||
static struct xfrm6_tunnel *tunnel46_handlers __read_mostly;
|
||||
static DEFINE_MUTEX(tunnel6_mutex);
|
||||
|
||||
int xfrm6_tunnel_register(struct xfrm6_tunnel *handler, unsigned short family)
|
||||
|
Reference in New Issue
Block a user