Are you sure? I thought this is exactly the case where
spin_lock_nest_lock() is supposed to be used? Admittedly it's very
simple, but the extra lock does two things: 1) it guarantees that the
queue locks can be taken in any order, and 2) it's a single lock on
which we can do spin_lock_irq(), rather than doing it in the loop for
each individual lock (which I think was bogus).
I don't see how it weakens lockdep in any way. Does it hide any
potential lock misuse?
J
--