cvs commit: src/sys/kern subr_sleepqueue.c

John Baldwin jhb at FreeBSD.org
Wed Sep 10 21:30:49 UTC 2008


jhb         2008-09-10 21:30:35 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             subr_sleepqueue.c 
  Log:
  SVN rev 182920 on 2008-09-10 21:30:35Z by jhb
  
  Remove an assertion that is no longer correct with the addition of
  sx_sleep().  During sx_sleep(), we drop the sleepqueue chain lock after
  putting the thread on the queue but before checking for signals while
  we release the sx lock.  If another thread wakes up the thread that is
  about to go to sleep during that window, then TDF_SINTR won't be set when
  the current thread checks for signals.  Thus, it isn't accurate to always
  assert that that flag is set here anymore.
  
  Reported by:    peter
  Approved by:    re (kib)
  
  Revision   Changes    Path
  1.18.2.10  +0 -1      src/sys/kern/subr_sleepqueue.c


More information about the cvs-src mailing list