Skip to content
Commit ab32ea5d authored by Brian Haley's avatar Brian Haley Committed by David S. Miller
Browse files

[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: default avatarBrian Haley <brian.haley@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 56fc85ac
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment