[PATCH 3/7] proc: Introduce the Children: line in /proc/<pid>/status

Tejun Heo tj at kernel.org
Sat Jul 23 01:41:10 PDT 2011


Hello,

On Sat, Jul 23, 2011 at 12:06:46PM +0400, Pavel Emelyanov wrote:
> > The dumper would have to build full process tree anyway so I don't 
> > see much point in providing backlink from kernel.
> 
> Hm... Why would a dumper need to build the whole tree? Maybe you're
> right with this, so can you elaborate?

It depends on what you want to dump.  Dumping arbitrary task has
issues even at the most basic level due to relationships among family
of processes, which I assume is why the in-kernel CR was primarily
focused on dumping and restoring full namespaces.  If you're doing
that, there is no avoiding walking process tree anyway (which
apparently can even be per-NS using uprocfs).

Thanks.

-- 
tejun


More information about the Containers mailing list