Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2004 13:36:53 -0700 (PDT)
From:      Daniel Eischen <deischen@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys proc.h src/sys/kern kern_thread.c subr_sleepqueue.c
Message-ID:  <200404282036.i3SKarho043330@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
deischen    2004/04/28 13:36:53 PDT

  FreeBSD src repository

  Modified files:
    sys/sys              proc.h 
    sys/kern             kern_thread.c subr_sleepqueue.c 
  Log:
  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.
  
  Reviewed by:    jhb, davidxu
  Mysql'd by:     Robin P. Blanchard <robin.blanchard at gactr uga edu>
  
  Revision  Changes    Path
  1.176     +37 -16    src/sys/kern/kern_thread.c
  1.5       +5 -1      src/sys/kern/subr_sleepqueue.c
  1.375     +6 -0      src/sys/sys/proc.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404282036.i3SKarho043330>