Elazar Leibovich <[email protected]> writes:

> So to my understanding, if all CPUs are idle, nothing is going to run
> on any CPU.

Well, there are a few special system processes on every UNIX system:

* swapper/scheduler (pid == 0); NB: this guy is not created by fork(2),
  hence there is no confusion when fork(2) returns 0 for the child;
* init (pid == 1) - all "normal" processes are forked off this one or
  one of its descendants;
* pagedaemon (pid == 2) - a system process that supports vurtual memory
  paging.

I am not sure that "all CPUs are idle" is a realistic situation in light
of these special processes. A situation where some of the CPUs are
either idle or run a single process (and thus no scheduling interrupts
need to be delivered to them) is, however, possible, and that seems to
be what is described in the docs.

-- 
Oleg Goldshmidt | [email protected]

_______________________________________________
Linux-il mailing list
[email protected]
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to