On 02/20, Tejun Heo wrote: > > On Thu, Feb 20, 2014 at 06:38:38PM +0100, Oleg Nesterov wrote: > > Tejun, unless I missed something WSTOPPED logic is broken if a process > > has a zombie/ptraced leader, "A zombie ptracee is only visible to its > > ptracer" is wrong in this case. Plus perhaps some cleanups make sense. > > Heh, I already forgot most details about ptrace. :)
This is mostly about do_wait(), although yes, !ptrace case looks fine. And it turns out, I forgot these details too. > Is it something > urgent? No, please forget. But it seems that wait_consider_task(zombie_leader) is very wrong wrt zombie leaders. WSTOPPED is simple, but I am still trying to find a simple fix for other problems. And the main problem, of course, is that this API is broken and we can't fix it. Oleg. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/