lkml.org 
[lkml]   [2012]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] fs, proc: Introduce /proc/<pid>/task/<tid>/children entry v6
On Tue, Jan 17, 2012 at 07:14:36PM +0100, Oleg Nesterov wrote:
...
> > > Do you see another approach? I don't, so I'd suggest to check
> > > "task->exit_state != EXIT_DEAD" instead of !list_empty().
> > >
> >
> > Well, I thought what if I can find another way without EXIT_DEAD
> > but seems there is no luck.
>
> Oooooh. Cyrill, it seems I managed to confuse you. And myself.
>
> exit_ptrace() doesn't use ->sibling, it uses ->ptrace_entry!.
>
> Sorry!
>

Heh ;) No worries, I seem to not understand this code enough anyway,
so I'll re-check it again and post an updated version of the patch which
should be reviewed with great caution.

Cyrill


\
 
 \ /
  Last update: 2012-01-17 19:33    [W:0.043 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site