[PATCH 1/4] introduce tracehook_finish_jctl() helper

2009-07-28 Thread Oleg Nesterov
Introduce the empty inline tracehook_finish_jctl() helper called by do_signal_stop() after wakeup. Currently we lack the ability to report this state change. Signed-off-by: Oleg Nesterov o...@redhat.com --- include/linux/tracehook.h |9 + kernel/signal.c |2 ++ 2

Re: [PATCH 1/4] introduce tracehook_finish_jctl() helper

2009-07-28 Thread Roland McGrath
Introduce the empty inline tracehook_finish_jctl() helper called by do_signal_stop() after wakeup. You could possibly roll this into the tracehook_notify_jctl rework too. Or send it upstream separately, either way. +/** + * tracehook_finish_jctl - report about return from job control stop

Re: [PATCH 1/4] introduce tracehook_finish_jctl() helper

2009-07-28 Thread Roland McGrath
I'd prefer to send it separately, just to avoid the how this hook is connected to subtle changes in do_signal_stop questions/discussion. Fine, it's up to you and Andrew. Hmm... shouldn't we move this comment above schedule() ? And, perhaps, /* Now we don't run again until continued