cvs commit: src/sys/kern subr_sleepqueue.c subr_turnstile.c src/sys/sys proc.h

Jeff Roberson jeff at
Wed Feb 6 22:55:39 PST 2008

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 
   - 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

More information about the cvs-src mailing list