DragonFlyBSD threading model
Joerg Sonnenberger
joerg at britannica.bec.de
Mon Aug 1 15:29:05 PDT 2005
On Mon, Aug 01, 2005 at 03:02:42PM -0700, walt wrote:
> Matthew Dillon wrote:
>
> > The LWKT scheduler is a fixed priority scheduler. For example, if you
> > do a 'ps ax' you will see a ton of kernel threads in addition to
> > userland...
>
> I don't. But I have only uni-processor machines, and not very busy ones
> at that. Would there be a difference between UP and MP machines in this
> regard?
You do, believe us :-) Just check the beginning, all the PID -1
processes are kernel threads. You should have one for all interrupts, at
least three for the network stack and some more for the VM subsystem.
Otherwise your system wouldn't work very well :-)
Joerg
More information about the Kernel
mailing list