]> err.no Git - linux-2.6/commit
[IA64] Tighten up unw_unwind_to_user check
authorKeith Owens <kaos@sgi.com>
Mon, 25 Apr 2005 18:45:26 +0000 (11:45 -0700)
committerTony Luck <tony.luck@intel.com>
Mon, 25 Apr 2005 18:45:26 +0000 (11:45 -0700)
commite8d1cb2f280aa53e1c75c8b5fcbf80b3481d0caa
tree832d5f4beabfc1c075dd54eebe343ad10c611c73
parent8297511530b0d2a281c796e738683951a59a020c
[IA64] Tighten up unw_unwind_to_user check

Detect user space by the unwind frame with predicate PRED_USER_STACK
set, instead of a user space IP.  Tighten up the last ditch check for
running off the top of the kernel stack.

Based on a suggestion by David Mosberger, reworked to fit the current
tree.  This survives my stress test which used to break 2.6.9 kernels.
Unlike 2.6.11, the stress test now unwinds to the correct point, so
gdb can get the user space registers.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unwind.c