From owner-freebsd-current Tue Nov 27 23:49:11 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 26C4637B405; Tue, 27 Nov 2001 23:48:55 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA13825; Wed, 28 Nov 2001 18:48:52 +1100 Date: Wed, 28 Nov 2001 18:47:49 +1100 (EST) From: Bruce Evans X-X-Sender: To: John Baldwin Cc: Luigi Rizzo , Subject: Re: where is the idle_loop in current ? In-Reply-To: Message-ID: <20011128184046.O2102-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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