Replaced locks with _bh locks and _irq ones; needs further testing..