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

Pavel Emelyanov xemul at parallels.com
Sat Jul 23 01:06:46 PDT 2011


On 07/21/2011 10:54 AM, Tejun Heo wrote:
> On Fri, Jul 15, 2011 at 05:46:43PM +0400, Pavel Emelyanov wrote:
>> Although we can get the pids of some task's issue, this is just 
>> more convenient to have them this way.
>>
>> Signed-off-by: Pavel Emelyanov <xemul at parallels.com>.
> 
> Umm... The primary aim is dumping whole namespaces, right?  

No. The aim is to dump an arbitrary set of tasks.

> 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?

This particular patch just helps with collecting a subtree without
scanning the whole /proc/ directory.

> Thanks.
> 



More information about the Containers mailing list