From: Brian Haley Date: Thu, 31 Aug 2006 22:03:36 +0000 (-0700) Subject: [AF_UNIX]: Change max_dgram_qlen sysctl to __read_mostly X-Git-Tag: v2.6.19-rc1~1272^2~84 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18adaf067cf013fc2690d3830eba99ff800795b4;p=linux-2.6 [AF_UNIX]: Change max_dgram_qlen sysctl to __read_mostly Signed-off-by: Brian Haley Signed-off-by: David S. Miller --- diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 7c91c2024d..b43a27828d 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -117,7 +117,7 @@ #include #include -int sysctl_unix_max_dgram_qlen = 10; +int sysctl_unix_max_dgram_qlen __read_mostly = 10; struct hlist_head unix_socket_table[UNIX_HASH_SIZE + 1]; DEFINE_SPINLOCK(unix_table_lock);