Assertion on spin_unlock_wr_quick

Antonio Huete Jimenez ahuete.devel at
Tue Mar 10 17:29:29 PDT 2009

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. 

Antonio Huete

More information about the Submit mailing list