Re: [RFC][PATCH] lockdep: Print a nice description of an irq lockingissue

From: Thomas Gleixner
Date: Tue Mar 29 2011 - 15:53:39 EST


On Tue, 29 Mar 2011, Steven Rostedt wrote:
> other info that might help us debug this:
>
> Chain exists of:
> &rq->lock --> lockA --> lockC
>
> Possible interrupt unsafe locking scenario:
>
> CPU0 CPU1
> ---- ----
> lock(lockC);
> local_irq_disable();
> lock(&rq->lock);
> lock(lockA);
> <Interrupt>
> lock(&rq->lock)
>
> *** DEADLOCK ***

Cool stuff. I always have to twist my brain around those splats as
well :)

Thanks,

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