From b36520446e6c391dc380290f06814e1900af6ca5 Mon Sep 17 00:00:00 2001 From: ps Date: Wed, 19 May 2004 00:22:10 +0000 Subject: syncache broke rev 1.23 which was done to fix the "thundering herd" problem in Apache. Fix it. Reviewed by: peter --- sys/kern/uipc_sockbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/kern/uipc_sockbuf.c') diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index 750d50f..3ab8f3a 100644 --- a/sys/kern/uipc_sockbuf.c +++ b/sys/kern/uipc_sockbuf.c @@ -223,7 +223,7 @@ sonewconn(head, connstatus) } if (connstatus) { sorwakeup(head); - wakeup(&head->so_timeo); + wakeup_one(&head->so_timeo); so->so_state |= connstatus; } return (so); -- cgit v1.1