[NET/IPV4/IPV6]: Change some sysctl variables to __read_mostly
commitab32ea5d8a760e7dd4339634e95d7be24ee5b842
authorBrian Haley <brian.haley@hp.com>
Fri, 22 Sep 2006 21:15:41 +0000 (22 14:15 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:55:03 +0000 (22 14:55 -0700)
tree8460a66c529fe03f926848326d9b6aa874e19514
parent56fc85ac961e2c20dcb5ef07e2628b3f93de2e49
[NET/IPV4/IPV6]: Change some sysctl variables to __read_mostly

Change net/core, ipv4 and ipv6 sysctl variables to __read_mostly.

Couldn't actually measure any performance increase while testing (.3%
I consider noise), but seems like the right thing to do.

Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 files changed:
net/core/neighbour.c
net/core/sock.c
net/ipv4/af_inet.c
net/ipv4/icmp.c
net/ipv4/igmp.c
net/ipv4/ip_fragment.c
net/ipv4/ip_output.c
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv4/tcp_output.c
net/ipv4/tcp_timer.c
net/ipv6/addrconf.c
net/ipv6/af_inet6.c
net/ipv6/icmp.c
net/ipv6/mcast.c
net/ipv6/reassembly.c