From owner-cvs-src@FreeBSD.ORG Fri Apr 30 20:14:02 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A539616A4CF for ; Fri, 30 Apr 2004 20:14:02 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 09CC143D31 for ; Fri, 30 Apr 2004 20:14:02 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 15334 invoked from network); 1 May 2004 03:14:01 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 1 May 2004 03:14:01 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 30 Apr 2004 22:14:00 -0500 (CDT) From: Mike Silbersack To: Daniel Eischen In-Reply-To: <200404282036.i3SKarho043330@repoman.freebsd.org> Message-ID: <20040430221144.P749@odysseus.silby.com> References: <200404282036.i3SKarho043330@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys proc.h src/sys/kern kern_thread.c subr_sleepqueue.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 May 2004 03:14:02 -0000 On Wed, 28 Apr 2004, Daniel Eischen wrote: > Keep track of threads waiting in kse_release() to avoid a race > condition where kse_wakeup() doesn't yet see them in (interruptible) > sleep queues. Also add an upcall check to sleepqueue_catch_signals() > suggested by jhb. > > This commit should fix recent mysql hangs. I'd like to add that the fix did indeed fix the mysql hangs that I had been experiencing before. ALSO, it makes kde not hang for a few seconds during startup, another problem that had appeared a few weeks ago that I had semi ignored. With the patch, all is well again. I should note that libthr still seems a little broken, mysql doesn't like being killed even with a world+kernel rebuilt as of yesterday. Did you say on -thread that it might be affected by the same issue with sleepqueues? Mike "Silby" Silbersack