mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org,
	ebiederm@xmission.com, haveblue@us.ibm.com, serue@us.ibm.com,
	clg@fr.ibm.com, lxc-devel@lists.sourceforge.net
Subject: Re: [PATCH] pidspace: is_init()
Date: Wed, 9 Aug 2006 14:04:27 +1000	[thread overview]
Message-ID: <17625.24267.334013.678760@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <20060809005637.GA13714@us.ibm.com>

Sukadev Bhattiprolu writes:

> 	There are a lot of places in the kernel where we test for init
> 	because we give it special properties.  Most  significantly init
> 	must not die.  This results in code all over the kernel test
> 	->pid == 1.
> 
> 	Introduce is_init to capture this case.  
> 
> 	With multiple pid spaces for all of the cases affected we are
> 	looking for only the first process on the system, not some other
> 	process that has pid == 1. 
> 
> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
> Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>

Acked-by: Paul Mackerras <paulus@samba.org>

  reply	other threads:[~2006-08-09  4:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-09  0:56 Sukadev Bhattiprolu
2006-08-09  4:04 ` Paul Mackerras [this message]
2006-08-09  8:28 ` [Devel] [Lxc-devel] " Kirill Korotaev

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=17625.24267.334013.678760@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=akpm@osdl.org \
    --cc=clg@fr.ibm.com \
    --cc=ebiederm@xmission.com \
    --cc=haveblue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lxc-devel@lists.sourceforge.net \
    --cc=serue@us.ibm.com \
    --cc=sukadev@us.ibm.com \
    /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®