* [PATCH] change somaxconn 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: 91 bytes --]
Change sysctl_somaxconn to __read_mostly.
Signed-off-by: Brian Haley <brian.haley@hp.com>
[-- Attachment #2: socket.patch --]
[-- Type: text/x-patch, Size: 342 bytes --]
diff --git a/net/socket.c b/net/socket.c
index f4d143c..e3d67fe 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -1336,7 +1336,7 @@ asmlinkage long sys_bind(int fd, struct
* ready for listening.
*/
-int sysctl_somaxconn = SOMAXCONN;
+int sysctl_somaxconn __read_mostly = SOMAXCONN;
asmlinkage long sys_listen(int fd, int backlog)
{
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] change somaxconn sysctl to __read_mostly
2006-08-31 20:35 [PATCH] change somaxconn 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:33 -0400
> Change sysctl_somaxconn 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 somaxconn 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).