- * The tracee won't come out of TASK_TRACED state until
- * its ptracer detaches. That happens when the ptracer
- * dies, but it synchronizes with us and so won't get
- * that far until we finish the core dump. If we're
- * waiting for the tracee to synchronize but it stays
- * blocked in TASK_TRACED, then we deadlock. So, for
- * this weirdo case we have to do another round with
- * tasklist_lock write-locked to __ptrace_unlink the
- * children that might cause this deadlock. That will
- * wake them up to process their pending SIGKILL.
- *
- * First, give everyone we just killed a chance to run
- * so they can all get into the coredump synchronization.
- * That should leave only the TASK_TRACED stragglers for
- * us to wake up. If a ptracer is still running, we'll
- * have to come around again after letting it finish.
+ * If the tracee went into a ptrace stop for exit tracing,
+ * we could deadlock since the tracer is waiting for this
+ * coredump to finish. Detach them so they can both die.