cvs commit: src/sys/sys proc.h src/sys/kern kern_thread.c
subr_sleepqueue.c
Mike Silbersack
silby at silby.com
Fri Apr 30 20:14:02 PDT 2004
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
More information about the cvs-src
mailing list