On 04/02, Eric W. Biederman wrote: > > Take advantage of the situation when sighand->count == 1 to only wait > for threads to reach EXIT_ZOMBIE instead of EXIT_DEAD in de_thread. Let me comment this patch first, it looks mostly fine to me. And note that this is what my patch does too: exec() waits until all threads pass exit_notify() and drops cred_guard_mutex. However, with my patch patch exec() then waits until all threads disappear. This is uglifies the code but this is simple and safe. With your patches exec doesn't do another wait and succeeds after the 1st wait. I think this is wrong and the next patch is not enough. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html