Re: BUG-lockdep and freeze (was: Arrr! Linux 2.6.18)

From: Andi Kleen
Date: Sat Sep 30 2006 - 19:59:20 EST

On Sunday 01 October 2006 00:55, Linus Torvalds wrote:
> On Sun, 1 Oct 2006, Andi Kleen wrote:
> >
> > No, it's not. On x86-64 it can be three or more stacks nested in
> > complicated ways (process stack, interrupt stack, exception stack)
> > The exception stack can happen multiple times.
> And you don't think that's true on x86?

On i386 it is simpler (only one interrupt stack and one process stack)
However there can be still nasty corner cases, like the temporary NMI stacks
that were added recently. It could be probably all handled in a state machine,
but it would be ugly (at least I heard complaints about the x86 code that
does it)

> Read the x86 code. Please. The one _before_ you added unwinding.

It's still the same if you disable unwinding.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at