lkml.org 
[lkml]   [2012]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 1/4] fs, proc: Introduce /proc/<pid>/task/<tid>/children entry v8
On Wed, Jan 25, 2012 at 10:55:51AM +0400, Cyrill Gorcunov wrote:
> >
> > Now that you have reminded me of this thread. I can say that the
> > link would need to look like ../../pid. Our children will always
> > be thread group leaders, so we can safely point to the /proc/<pid>
> > directories. So readlink would return ../../<pid> or however many
> > dots are needed. Follow link could just warp us to that directory
> > as it does for the other magic proc symlinks.
> >
> > My feeling is that a children subdirectory would be a lot more useful
> > than a simple file that lists the children.
> >
>
> I'll check what I can do, thanks.
>

Sigh. This will require complete code rewrite. And since I've just
made it to live under CONFIG_CHECKPOINT_RESTORE I would prefer if
we stick with children file. So if there are no strong objections
agains 'children' as a file, could we leave it as is, ie in
stream-of-pids form?

Cyrill


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