cvs commit: src/sys/conf options src/sys/sys thread.h thread2.h src/sys/vfs/ufs ffs_softdep.c

Matthew Dillon dillon at
Tue Jul 26 13:54:08 PDT 2005

dillon      2005/07/26 13:53:58 PDT

DragonFly src repository

  Modified files:
    sys/conf             options 
    sys/sys              thread.h thread2.h 
    sys/vfs/ufs          ffs_softdep.c 
  Add a new kernel compile debugging option, DEBUG_CRIT_SECTIONS.  This fairly
  invasive debugging option compiles matching code into the critical section
  inlines and reports mismatches at run-time.   It is used to detect
  missing/forgotten crit_exit() calls.
  Note that because there are a number of places where critical sections are
  manipulated outside the procedures that entered them, this code will
  generate a number of false hits and should only be used under the direction
  of experienced developers.
  Note that the thread structure will be extended by this option.
  Revision  Changes    Path
  1.38      +1 -0      src/sys/conf/options
  1.67      +7 -0      src/sys/sys/thread.h
  1.23      +89 -14    src/sys/sys/thread2.h
  1.26      +4 -4      src/sys/vfs/ufs/ffs_softdep.c

More information about the Commits mailing list