diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2015-01-29 06:15:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-30 20:58:39 -0500 |
commit | 207895fd388c7c4c48bc33055cd726d9e750298c (patch) | |
tree | 560b36ca51ce4d654822e75e8c883d6e534e5992 /net/ipv6 | |
parent | 055470d2a7ad47dfb479308d713993173f1c6876 (diff) |
net: mark some potential candidates __read_mostly
They are all either written once or extremly rarely (e.g. from init
code), so we can move them to the .data..read_mostly section.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 7dcc065e2160..8623118cb2bb 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -5405,7 +5405,7 @@ static struct pernet_operations addrconf_ops = { | |||
5405 | .exit = addrconf_exit_net, | 5405 | .exit = addrconf_exit_net, |
5406 | }; | 5406 | }; |
5407 | 5407 | ||
5408 | static struct rtnl_af_ops inet6_ops = { | 5408 | static struct rtnl_af_ops inet6_ops __read_mostly = { |
5409 | .family = AF_INET6, | 5409 | .family = AF_INET6, |
5410 | .fill_link_af = inet6_fill_link_af, | 5410 | .fill_link_af = inet6_fill_link_af, |
5411 | .get_link_af_size = inet6_get_link_af_size, | 5411 | .get_link_af_size = inet6_get_link_af_size, |