[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070409104302.GA14764@lnx-holt.americas.sgi.com>
Date: Mon, 9 Apr 2007 05:43:02 -0500
From: Robin Holt <holt@....com>
To: Oleg Nesterov <oleg@...sign.ru>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Davide Libenzi <davidel@...ilserver.org>,
Ingo Molnar <mingo@...e.hu>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Robin Holt <holt@....com>, Roland McGrath <roland@...hat.com>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Subject: Re: [RFC, PATCH 1/3] introduce SYS_CLONE_MASK
On Mon, Apr 09, 2007 at 01:06:43PM +0400, Oleg Nesterov wrote:
> On 04/08, Eric W. Biederman wrote:
> > There is a practical question how much we care about pstree being
> > confused (I assume it doesn't crash). If this is just a confusion
> > issue then I say go for it. PPID == 0 is a very legitimate way to say
> > the kernel is the parent process.
>
> No, it doesn't crash. It just doesn't show kernel threads (ps ax is OK).
> I didn't look into the sources, but I guess the reason is that pstree
> assumes that the "root" of the tree is "pid == 1" process.
I would say this is more a benefit than a problem. With a couple of these
systems we are testing, the number of kernel threads is far greater than
the number of user processes and having pstree not normally show them, but
maybe have an option we add later to show them again would be beneficial.
Thanks,
Robin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists