Skip to contentSkip to conversation

change max_dgram_qlen sysctl to __read_mostly

PATCH Applied Brian Haley 2 participants 2 messages Aug 31, 2006

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 change max_dgram_qlen sysctl to __read_mostly

Change AF_UNIX sysctl_unix_max_dgram_qlen to __read_mostly.

net/unix/af_unix.c +1 -1
index 7c91c20..b43a278 100644
@@ -117,7 +117,7 @@
 #include <net/checksum.h>
 #include <linux/security.h>
 
-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);