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

Andi Kleen
2006-09-30T23:57:17Z

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.

-Andi