public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: george anzinger <george@mvista.com>
To: root@chaos.analogic.com
Cc: ic@aleph1.net, linux-kernel@vger.kernel.org
Subject: Re: process 0
Date: Fri, 23 Aug 2002 13:34:53 -0700	[thread overview]
Message-ID: <3D669C6D.5F0D5005@mvista.com> (raw)
In-Reply-To: Pine.LNX.3.95.1020823085056.169A-100000@chaos.analogic.com

"Richard B. Johnson" wrote:
> 
> On Fri, 23 Aug 2002 ic@aleph1.net wrote:
> 
> > Hi.
> > Maybe this is a little off topic, but does what is the real status of
> > Process 0 (swapper) ?
> > Some people keep telling me it doesn't exist, but on some kernel crashes
> > I can see "process swapper (pid 0, process nr 0, ...)"
> >
> > Can someone help me ?
> 
> Well, it kind-of exists. It's what the CPU does when there is nothing
> else to do. Sort of like:
> 
>                 for(;;)
>                     schedule();
> 
> It's also where it 'goes' if init returns <grin>.

ALSO, FWIW on a N way SMP there will be N process 0s.  So
much for unique pids :)

-- 
George Anzinger   george@mvista.com
High-res-timers: 
http://sourceforge.net/projects/high-res-timers/
Preemption patch:
http://www.kernel.org/pub/linux/kernel/people/rml

      reply	other threads:[~2002-08-23 20:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-23 12:11 process 0 ic
2002-08-23 12:26 ` Rik van Riel
2002-08-23 12:56 ` Richard B. Johnson
2002-08-23 20:34   ` george anzinger [this message]

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=3D669C6D.5F0D5005@mvista.com \
    --to=george@mvista.com \
    --cc=ic@aleph1.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.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