Re: Using nested locking for spin_lock_bh

From: Peter Zijlstra
Date: Sun Apr 15 2012 - 07:18:28 EST


On Wed, 2012-03-28 at 18:36 +0200, Sven Eckelmann wrote:
>
> Is there another way how this should be done or is there a general problem why
> there is no nested support for this incarnation of spin_lock?

No reason other than that it wasn't needed before now, but I see you've
resolved things with a lockdep_set_class() which works too.


--
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/