Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2008 06:55:38 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_sleepqueue.c subr_turnstile.c src/sys/sys proc.h
Message-ID:  <200802070655.m176tdd4022332@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2008-02-07 06:55:38 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_sleepqueue.c subr_turnstile.c 
    sys/sys              proc.h 
  Log:
   - Add THREAD_LOCKPTR_ASSERT() to assert that the thread's lock points at
     the provided lock or &blocked_lock.  The thread may be temporarily
     assigned to the blocked_lock by the scheduler so a direct comparison
     can not always be made.
   - Use THREAD_LOCKPTR_ASSERT() in the primary consumers of the scheduling
     interfaces.  The schedulers themselves still use more explicit asserts.
  
  Sponsored by:   Nokia
  
  Revision  Changes    Path
  1.44      +1 -1      src/sys/kern/subr_sleepqueue.c
  1.172     +7 -7      src/sys/kern/subr_turnstile.c
  1.503     +11 -0     src/sys/sys/proc.h



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