mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robin Holt <holt@sgi.com>
To: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Davide Libenzi <davidel@xmailserver.org>,
	Ingo Molnar <mingo@elte.hu>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Robin Holt <holt@sgi.com>, Roland McGrath <roland@redhat.com>,
	linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org
Subject: Re: [RFC, PATCH 1/3] introduce SYS_CLONE_MASK
Date: Mon, 9 Apr 2007 05:43:02 -0500	[thread overview]
Message-ID: <20070409104302.GA14764@lnx-holt.americas.sgi.com> (raw)
In-Reply-To: <20070409090643.GA121@tv-sign.ru>

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

  reply	other threads:[~2007-04-09 10:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-08 15:53 Oleg Nesterov
2007-04-08 16:19 ` Eric W. Biederman
2007-04-08 16:57   ` Oleg Nesterov
2007-04-09  1:05     ` Eric W. Biederman
2007-04-09  2:06       ` Roland McGrath
2007-04-09 16:20         ` Eric W. Biederman
2007-04-09 17:30           ` Robin Holt
2007-04-10  0:35             ` Eric W. Biederman
2007-04-10  9:56               ` Robin Holt
2007-04-09  9:06       ` Oleg Nesterov
2007-04-09 10:43         ` Robin Holt [this message]
2007-04-09 14:36           ` Eric W. Biederman
2007-04-09 14:52             ` Robin Holt
2007-04-10 15:47     ` Jan Engelhardt
2007-04-10 18:20       ` Jan Engelhardt
2007-05-29  2:59 Albert Cahalan
2007-05-29  4:57 ` Eric W. Biederman
2007-05-29  3:23 Albert Cahalan
2007-05-29  4:53 ` Eric W. Biederman
2007-05-29  5:56   ` Roland McGrath
2007-05-30  0:33   ` Albert Cahalan
2007-05-30  1:43     ` Eric W. Biederman
2007-07-26  7:34   ` Jan Engelhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070409104302.GA14764@lnx-holt.americas.sgi.com \
    --to=holt@sgi.com \
    --cc=akpm@linux-foundation.org \
    --cc=davidel@xmailserver.org \
    --cc=ebiederm@xmission.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=oleg@tv-sign.ru \
    --cc=roland@redhat.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®