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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux