Re: kernel BUG at drivers/md/raid5.c:693!

From: Peter Zijlstra
Date: Mon Nov 25 2013 - 04:53:39 EST


On Mon, Nov 25, 2013 at 10:35:22AM +1100, NeilBrown wrote:
> Ingo/Peter: is it considered OK to call wake_up while holding a spinlock?

Yes, very much so. Doing a wakeup isn't _that_ expensive.

> Could "sleeping spinlocks" affect this at all? (some sample stack traces are
> below).

Not entirely sure, are you referencing to -rt where me make spinlock_t
pi-mutexes?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/