Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 18:47:49 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        John Baldwin <jhb@FreeBSD.ORG>
Cc:        Luigi Rizzo <rizzo@aciri.org>, <current@FreeBSD.ORG>
Subject:   Re: where is the idle_loop in current ?
Message-ID:  <20011128184046.O2102-100000@gamplex.bde.org>
In-Reply-To: <XFMail.011126094330.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 :-).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011128184046.O2102-100000>