[PATCH] simplify do_signal_stop() utrace_report_jctl() interaction

2009-03-18 Thread Oleg Nesterov
On 03/18, Roland McGrath wrote: It's OK to change the tracehook definition. I did this on the new git branch tracehook, then utrace branch commit 7b0be6e4 merges that and uses it. Roland, I think it better to change tracehook definition more, please see below. This drops all the JCTL bit

Re: Q: utrace_reset() UTRACE_EVENT(REAP)

2009-03-18 Thread Oleg Nesterov
On 03/18, Roland McGrath wrote: Yes, but the other side lacks a barrier. UTRACE_REPORT does utrace-report = 1; wmb(); // actually mb, but wmb is enough set _TIF_NOTIFY_RESUME; do_notify_resume()-utrace_resume()-start_report() path does if (_TIF_NOTIFY_RESUME)

PATCH? tracehook_notify_jctl SIGCONT

2009-03-18 Thread Oleg Nesterov
On 03/18, Oleg Nesterov wrote: On 03/18, Roland McGrath wrote: It's OK to change the tracehook definition. I did this on the new git branch tracehook, then utrace branch commit 7b0be6e4 merges that and uses it. Roland, I think it better to change tracehook definition more, please