DragonFly commits List (threaded) for 2005-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/conf options src/sys/sys thread.h thread2.h src/sys/vfs/ufs ffs_softdep.c
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
Log:
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
http://www.dragonflybsd.org/cvsweb/src/sys/conf/options.diff?r1=1.37&r2=1.38&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread.h.diff?r1=1.66&r2=1.67&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/thread2.h.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ffs_softdep.c.diff?r1=1.25&r2=1.26&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]