[PATCH 0/3] utrace: SIGKILL tweaks

2009-08-14 Thread Oleg Nesterov
Just to complete the previous discussion. Alternatively, we could just fix utrace_stop() to always check fatal_signal_pending() before return. But personally I think that report-killed buys nothing, but adds some complexity to the code. Perhaps, utrace_stop() should return true if we really

Re: [PATCH 0/3] utrace: SIGKILL tweaks

2009-08-14 Thread Roland McGrath
Alternatively, we could just fix utrace_stop() to always check fatal_signal_pending() before return. I don't think it makes sense to roll in the check and have a return value for it unless either it's doing important synchronization there, or every caller needs the check. Oh, but it does