Re: [PATCH 1/1] do_signal_stop: do not call tracehook_notify_jctl() in TASK_STOPPED state

2009-07-29 Thread Roland McGrath
Acked-by: Roland McGrath rol...@redhat.com

[PATCH 1/1] do_signal_stop: do not call tracehook_notify_jctl() in TASK_STOPPED state

2009-07-28 Thread Oleg Nesterov
do_signal_stop() can call tracehook_notify_jctl() before decrementing -group_stop_count and setting TASK_STOPPED/SIGNAL_STOP_STOPPED. This way the tracing hooks can drop and reacquire the siglock freely and do any blocking hooks without potential SIGCONT races. With this patch