SMP: BUG() on cat /proc/$PID/stack

Rabin Vincent rabin at rab.in
Wed Jan 19 12:04:41 EST 2011


On Thu, Jan 13, 2011 at 11:11:36PM +0000, Russell King - ARM Linux wrote:
> x86 stack walking is very different from ARM unwinding.  I'd rather not
> expose the unwinder to a volatile stack - that's probably a recipe for
> it "sometimes" working and other times going oops because the stack
> changed beneath it.

Even on UP, with preemption enabled, isn't there no guarantee that the
target stack won't change beneath us, since the task we're examining can
preempt us?

Don't we need something like the below?

8<------


More information about the linux-arm-kernel mailing list