Re: rcu,sched: spinlock recursion on 3.5-rc2

From: Sasha Levin
Date: Tue Jun 12 2012 - 11:29:47 EST


On Tue, 2012-06-12 at 17:15 +0200, Peter Zijlstra wrote:
> On Tue, 2012-06-12 at 17:07 +0200, Thomas Gleixner wrote:
> > Hmm, not sure. The deadlock was not triggered in switch_to. It was
> > just at the beginning of __schedule()
> >
> >
> How can you tell? switch_to() is a macro not a function, it won't ever
> show up on a stack-trace.. but I think you meant context_switch() but
> that typically gets inlined, similar problem.

addr2line -i confirmed it was pointing to switch_to(), if it matters.

btw, wouldn't it be nice if there were a short script that would take an
oops and convert all those kernel addresses into file+line numbers based
on a given vmlinux? It would make our lives so much easier.

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