On 28-Nov-01 Bruce Evans wrote:
> On Mon, 26 Nov 2001, John Baldwin wrote:
> 
>> We don't do preemption in the kernel yet, so they need to yield the CPU when
>> another thread is available.  The page zeroing thread does this wrong as it
>> should check procrunnable() instead of switching after doing N pages.  The
>> idle
> 
> Except it would always find at least itself runnable :-).

No b/c it isn't on the runqueue when it does the check. :)  Nor is the default
idle loop ever on the runqueues.

> Bruce

-- 

John Baldwin <[EMAIL PROTECTED]>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to