On Wed, 3 Oct 2007 21:40:29 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
there is a difference among user's stack overflow and kernel's.
- user's stack overflow just breaks memory next to stack frame.
- kernel's altstack overflow, which this patch tries to fix, breaks
the bottom of altstack bacause %esp goes back to the bottom
of ths altstack when it exceeds altstack range.
This behavior overwrite orignail stack frame and shows infinit loop
of function call to gdb and never stop with 100% cpu usage.
Thanks,
-Kame
-