Commit b8059ead authored by David S. Miller's avatar David S. Miller

[TCP]: Mark tcp_*mem[] __read_mostly.

Suggested by Stephen Hemminger.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7b4f4b5e
...@@ -257,6 +257,7 @@ ...@@ -257,6 +257,7 @@
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/random.h> #include <linux/random.h>
#include <linux/bootmem.h> #include <linux/bootmem.h>
#include <linux/cache.h>
#include <net/icmp.h> #include <net/icmp.h>
#include <net/tcp.h> #include <net/tcp.h>
...@@ -275,9 +276,9 @@ atomic_t tcp_orphan_count = ATOMIC_INIT(0); ...@@ -275,9 +276,9 @@ atomic_t tcp_orphan_count = ATOMIC_INIT(0);
EXPORT_SYMBOL_GPL(tcp_orphan_count); EXPORT_SYMBOL_GPL(tcp_orphan_count);
int sysctl_tcp_mem[3]; int sysctl_tcp_mem[3] __read_mostly;
int sysctl_tcp_wmem[3]; int sysctl_tcp_wmem[3] __read_mostly;
int sysctl_tcp_rmem[3]; int sysctl_tcp_rmem[3] __read_mostly;
EXPORT_SYMBOL(sysctl_tcp_mem); EXPORT_SYMBOL(sysctl_tcp_mem);
EXPORT_SYMBOL(sysctl_tcp_rmem); EXPORT_SYMBOL(sysctl_tcp_rmem);
......
Markdown is supported
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