diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-03-25 01:36:56 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-25 01:36:56 -0800 |
commit | b8059eadf9f4dc24bd72da71daa832a9a9899fb4 (patch) | |
tree | 14ce03cd0b322ba35a600d13930a440aafda6f8d /net/ipv4/tcp.c | |
parent | 7b4f4b5ebceab67ce440a61081a69f0265e17c2a (diff) | |
download | kernel_samsung_tuna-b8059eadf9f4dc24bd72da71daa832a9a9899fb4.zip kernel_samsung_tuna-b8059eadf9f4dc24bd72da71daa832a9a9899fb4.tar.gz kernel_samsung_tuna-b8059eadf9f4dc24bd72da71daa832a9a9899fb4.tar.bz2 |
[TCP]: Mark tcp_*mem[] __read_mostly.
Suggested by Stephen Hemminger.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index 591e96d..8f5042b 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -257,6 +257,7 @@ #include <linux/fs.h> #include <linux/random.h> #include <linux/bootmem.h> +#include <linux/cache.h> #include <net/icmp.h> #include <net/tcp.h> @@ -275,9 +276,9 @@ atomic_t tcp_orphan_count = ATOMIC_INIT(0); EXPORT_SYMBOL_GPL(tcp_orphan_count); -int sysctl_tcp_mem[3]; -int sysctl_tcp_wmem[3]; -int sysctl_tcp_rmem[3]; +int sysctl_tcp_mem[3] __read_mostly; +int sysctl_tcp_wmem[3] __read_mostly; +int sysctl_tcp_rmem[3] __read_mostly; EXPORT_SYMBOL(sysctl_tcp_mem); EXPORT_SYMBOL(sysctl_tcp_rmem); |