[IA64] unwind did not work for processes born with CLONE_STOPPED
authorKirill Korotaev <dev@sw.ru>
Mon, 19 Mar 2007 11:04:20 +0000 (14:04 +0300)
committerTony Luck <tony.luck@intel.com>
Tue, 8 May 2007 21:51:42 +0000 (14:51 -0700)
commit690def21414fa43fac1b8053fd952c0366c476de
tree512295acc56990fa85e9e493fc9b01b104c2b91f
parent3be44b9cc33d26930cb3bb014f35f582c6522481
[IA64] unwind did not work for processes born with CLONE_STOPPED

Minor problem for mainstream. Big problem for checkpoint/restore,
because all the stopped/traced processes are born in this state,
hence they cannot be checkpointed again due to failing unwind.

The problem was identified as assumption in kernel unwind library
that top level frame is different of syscall frame. It is the case
unless process was born with CLONE_STOPPED.

Author: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-Off-By: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-Off-By: Kirill Korotaev <dev@sw.ru>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unwind.c