From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932592Ab2ASQ1Z (ORCPT ); Thu, 19 Jan 2012 11:27:25 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:50613 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932244Ab2ASQ1Y (ORCPT ); Thu, 19 Jan 2012 11:27:24 -0500 Date: Thu, 19 Jan 2012 20:27:18 +0400 From: Cyrill Gorcunov To: Oleg Nesterov Cc: KOSAKI Motohiro , LKML , Andrew Morton , Pavel Emelyanov , Serge Hallyn , KAMEZAWA Hiroyuki , Tejun Heo , Andrew Vagin , Vasiliy Kulikov Subject: Re: [RFC] fs, proc: Introduce /proc//task//children entry v6 Message-ID: <20120119162718.GA32568@moon> References: <20120116153231.GF2998@moon> <4F15EA53.8030405@gmail.com> <20120118135809.GA10105@redhat.com> <20120118142156.GR1968@moon> <20120118143631.GA11776@redhat.com> <20120118182344.GD2889@moon> <20120118190725.GE2889@moon> <20120119141051.GA9652@redhat.com> <20120119155529.GA14412@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120119155529.GA14412@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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