On Fri, 2006-08-11 at 09:15 -0700, Arjan van de Ven wrote:
> Roland Dreier wrote:
> > Here's a long-standing bug that lockdep found very nicely.
> > 
> > Ingo/Arjan, can you confirm that the fix looks OK and I am using
> > spin_lock_nested() properly?  I couldn't find much documentation or
> > many examples of it, so I'm not positive this is the right way to
> > handle this fix.
> > 
> 
> looks correct to me;
> 
> Acked-by: Arjan van de Ven <[EMAIL PROTECTED]>

looks good to me too.

Acked-by: Ingo Molnar <[EMAIL PROTECTED]>

btw., we could introduce a new spin-lock op: 

        spin_lock_double(l1, l2);
        ...
        spin_unlock_double(l1, l2);

because some other code, like kernel/sched.c, fs/dcache.c and
kernel/futex.c uses quite similar locking.

        Ingo


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to