]> git.baikalelectronics.ru Git - kernel.git/commit
x86: be even more careful about checking the stack frame on dumping
authorLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 1 Sep 2007 03:18:51 +0000 (20:18 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 1 Sep 2007 03:18:51 +0000 (20:18 -0700)
commitb396759ef5cf0bee129ff70c4123b7e1621f48f1
tree3cdc924a89a6624e685ef1b3926ecab8c54ffaf5
parent79844ab41cfe7cc27866671062a66187c2e313de
x86: be even more careful about checking the stack frame on dumping

lguest didn't initialize the kernel stack the way a real i386 kernel
does, and ended up triggering a corner-case in the stack frame checking
that doesn't happen on naive i386, and that the stack dumping didn't
handle quite right.

This makes the frame handling more correct, and tries to clarify the
code at the same time so that it's a bit more obvious what is going on.

Thanks to Rusty Russell for debugging the lguest failure-

Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/traps.c