signals-document-cld_continued-notification-mechanics-more
PATCH 1/1 signals-document-cld_continued-notification-mechanics-more
comments update for signals-document-cld_continued-notification-mechanics.patch
Signed-off-by Oleg Nesterov <[email protected]>
kernel/signal.c renamed from kernel/signal.c~DOC_1_NOTIFY +5 -1
@@ -1670,7 +1670,11 @@ relock:try_to_freeze ();spin_lock_irq (&sighand->siglock); -/* see prepare_signal(SIGCONT) */ +/* +* Every stopped thread goes here after wakeup. Check to see if +* we should notify the parent, prepare_signal(SIGCONT) encodes +* the CLD_ si_code into SIGNAL_CLD_MASK bits. +*/ if (unlikely (signal->flags &SIGNAL_CLD_MASK )) {int why = (signal->flags &SIGNAL_STOP_CONTINUED ) ?CLD_CONTINUED :CLD_STOPPED ;