diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2015-01-29 14:15:03 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-31 04:58:39 +0300 |
commit | 207895fd388c7c4c48bc33055cd726d9e750298c (patch) | |
tree | 560b36ca51ce4d654822e75e8c883d6e534e5992 /drivers/net/ipvlan | |
parent | 055470d2a7ad47dfb479308d713993173f1c6876 (diff) | |
download | linux-207895fd388c7c4c48bc33055cd726d9e750298c.tar.xz |
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 'drivers/net/ipvlan')
-rw-r--r-- | drivers/net/ipvlan/ipvlan_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipvlan/ipvlan_core.c b/drivers/net/ipvlan/ipvlan_core.c index 2e195289ddf4..2a175006028b 100644 --- a/drivers/net/ipvlan/ipvlan_core.c +++ b/drivers/net/ipvlan/ipvlan_core.c @@ -9,7 +9,7 @@ #include "ipvlan.h" -static u32 ipvlan_jhash_secret; +static u32 ipvlan_jhash_secret __read_mostly; void ipvlan_init_secret(void) { |