Reorder the INVARIANTS test in crit_enter() to occur prior to modifying
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 16 Jul 2005 17:09:15 +0000 (17:09 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 16 Jul 2005 17:09:15 +0000 (17:09 +0000)
commitf1cebc1bea6621a0051f1f936bfe41a7e81957ca
tree970c754c8940142e57005c52202b01509b0eecee
parent0e3bcfe164bf99ddff773c77e661f345b90f8d0d
Reorder the INVARIANTS test in crit_enter() to occur prior to modifying
the critical section count rather then after, to try to catch critical
section mismatches earlier.
sys/sys/thread2.h