Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 21:30:35 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_sleepqueue.c
Message-ID:  <200809102130.m8ALUnV7099685@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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