Date: Fri, 30 Apr 2004 22:14:00 -0500 (CDT) From: Mike Silbersack <silby@silby.com> To: Daniel Eischen <deischen@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 Message-ID: <20040430221144.P749@odysseus.silby.com> In-Reply-To: <200404282036.i3SKarho043330@repoman.freebsd.org> References: <200404282036.i3SKarho043330@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040430221144.P749>