I'll try to read your email later, just one note for now... On 01/22, Bernd Edlinger wrote: > > > I didn't say that t is a group leader. I said it can be a zombie sub-thread > > with ->exit_state != 0. > > the condition here is > > (t != tsk->group_leader || !t->exit_state) > > so in other words, if t is a sub-thread, i.e. t != tsk->group_leader > then the t->exit_state does not count, Ah indeed, somehow I misread this check as if you skip the sub-threads with ->exit_state != 0. Sorry for noise. Oleg.