Re: [RFC] fs, proc: Introduce /proc/<pid>/task/<tid>/children entryv6

From: Cyrill Gorcunov
Date: Thu Jan 19 2012 - 11:27:24 EST


On Thu, Jan 19, 2012 at 04:55:29PM +0100, Oleg Nesterov wrote:
>
> Thinking more... I am not sure, but do we really need
> proc_pid_children_iter at all??
>
> It is very possibly I missed something, but we can get both
> parent_pid and pid_ns from inode, right? so can't we just remember
> inode in seq->private?
>

Good point. Letme check if we will need to call for ihold then...
(/me scratchig the head)

Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/