Re: [PATCH] fix race copy_process() vs de_thread()

From: Roland McGrath
Date: Mon Aug 24 2009 - 02:20:46 EST


Ah, I see. This happens when the copy_process() thread was the old
group_leader itself. Then it never does release_task() itself.

Your fix seems adequate. Another approach would be to have some place
like exit_signals() check for the group_exit_task case.

Oleg, what do you think?


Thanks,
Roland
--
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/