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
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
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