Re: Process with many NPTL threads terminates slowly on core dump signal
From: Oleg Nesterov
Date: Thu Oct 13 2005 - 12:08:52 EST
Michael Kerrisk wrote:
> Thanks. I've applied it to 2.6.14-rc4: this patch does fix the
> specific behaviour that my program demonstrates.
> What remains to be solved?
The problem remains that all threads spin with TIF_SIGPENDING flag
after the coredumping thread sets SIGNAL_GROUP_EXIT in do_coredump()
and before it kills them in zap_threads(). If one of these threads is
SCHED_FIFO we have a deadlock. Also, the coredumping thread could be
preempted, placed in ->expired array ...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/