DragonFly submit List (threaded) for 2009-03
DragonFly BSD
DragonFly submit List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Assertion on spin_unlock_wr_quick


From: Antonio Huete Jimenez <ahuete.devel@xxxxxxxxx>
Date: Wed, 11 Mar 2009 01:28:01 +0100

Hi all,

In spin_unlock_wr_quick() function, gd->gd_spinlocks_wr is always decreased, even when its value is equal to 0. This shouldn't happen, and if it happens then something may be wrong. In the patch below, I've added a KKASSERT() before the decreasing as recommended by corecode.

http://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff/721b254210a115e6c53b1d842cc560587eff3ae5


Regards, Antonio Huete



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]