From owner-freebsd-questions Fri May 28 12:17:17 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 3474514DA2 for ; Fri, 28 May 1999 12:17:13 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id OAA04575; Fri, 28 May 1999 14:37:57 -0500 (EST) Date: Fri, 28 May 1999 14:37:55 -0500 (EST) From: Alfred Perlstein To: Geoffrey Cc: freebsd-questions@FreeBSD.ORG Subject: Re: scheduler in freebsd's kernel In-Reply-To: <199905281837.OAA00976@jeff1.netpath.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 28 May 1999, Geoffrey wrote: > > Does the system scheduler runn off of a interrupt driven timer or do > parts of the kernel call the scheduler ? both, at many points a process executing in the context of the kernel may need to yield while waiting for a resource, then it may explicitly call put itself to sleep to allow other things to run. This happens mostly while staging syncronous IO. Also, at certain points a process becomes un-interuptable, but this is very rare and for short periods of time. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message