Re: process 0

Richard B. Johnson (root@chaos.analogic.com)
Fri, 23 Aug 2002 08:56:21 -0400 (EDT)


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>.

Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
The US military has given us many words, FUBAR, SNAFU, now ENRON.
Yes, top management were graduates of West Point and Annapolis.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/