[PATCH 9/7] uprobes/x86: Teach arch_uprobe_post_xol() to restart if possible

2014-04-03 Thread Oleg Nesterov
SIGILL after the failed arch_uprobe_post_xol() should only be used as a last resort, we should try to restart the probed insn if possible. Currently only adjust_ret_addr() can fail, and this can only happen if another thread unmapped our stack after we executed "call" out-of-line. Most probably

[PATCH 9/7] uprobes/x86: Teach arch_uprobe_post_xol() to restart if possible

2014-04-03 Thread Oleg Nesterov
SIGILL after the failed arch_uprobe_post_xol() should only be used as a last resort, we should try to restart the probed insn if possible. Currently only adjust_ret_addr() can fail, and this can only happen if another thread unmapped our stack after we executed call out-of-line. Most probably the