netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] change max_dgram_qlen sysctl to __read_mostly
@ 2006-08-31 20:35 Brian Haley
  2006-08-31 22:03 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Haley @ 2006-08-31 20:35 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 109 bytes --]

Change AF_UNIX sysctl_unix_max_dgram_qlen to __read_mostly.

Signed-off-by: Brian Haley <brian.haley@hp.com>

[-- Attachment #2: af_unix.patch --]
[-- Type: text/x-patch, Size: 396 bytes --]

diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 7c91c20..b43a278 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -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);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] change max_dgram_qlen sysctl to __read_mostly
  2006-08-31 20:35 [PATCH] change max_dgram_qlen sysctl to __read_mostly Brian Haley
@ 2006-08-31 22:03 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2006-08-31 22:03 UTC (permalink / raw)
  To: brian.haley; +Cc: netdev

From: Brian Haley <brian.haley@hp.com>
Date: Thu, 31 Aug 2006 16:35:37 -0400

> Change AF_UNIX sysctl_unix_max_dgram_qlen to __read_mostly.
> 
> Signed-off-by: Brian Haley <brian.haley@hp.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-31 22:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-31 20:35 [PATCH] change max_dgram_qlen sysctl to __read_mostly Brian Haley
2006-08-31 22:03 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).