From owner-freebsd-arch Fri Dec 13 11:50:17 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5805437B401 for ; Fri, 13 Dec 2002 11:50:15 -0800 (PST) Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 947A843EC5 for ; Fri, 13 Dec 2002 11:50:14 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by rwcrmhc53.attbi.com (rwcrmhc53) with ESMTP id <20021213195008053003n914e>; Fri, 13 Dec 2002 19:50:09 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA10118; Fri, 13 Dec 2002 11:49:39 -0800 (PST) Date: Fri, 13 Dec 2002 11:49:37 -0800 (PST) From: Julian Elischer To: higgsr@rpi.edu Cc: nathan_arun@hotmail.com, arch@freebsd.org Subject: Re: Threads in FreeBSD In-Reply-To: <200212131913.gBDJDPrl167000@mail.rpi.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 13 Dec 2002 higgsr@rpi.edu wrote: > There is a paper describing -CURRENT's ideal model for thread support > > http://www.asdf.dk/sjov/freebsd_kse.pdf This is way out of date and represents an early stage in the design. A newer version (still a bit out of date) is at: http://www.aims.com.au/chris/kse/ and there is a man page on the primatives used at: http://www.freebsd.org/cgi/man.cgi?query=kse&apropos=0&sektion=0&manpath=FreeBSD+5.0-current&format=html (sorry if that wraps). Julian > > the status page > > http://www.freebsd.org/kse/ > > and some miscellaneous diagrams, email list threads, etc. > > http://people.freebsd.org/~julian/threads/ > > Ray > > On Fri, 13 Dec 2002 13:35:28 -0500 (EST) Kenneth Culver wrote: > > > > I'm currently reading the book "Modern Operating Systems" by Tanenbaum, > > > > where he says there are 2 kinds of threads. user-level and > > kernel-level. > > > What type of threads is implemented in FreeBSD? user, kernel or both? > > > > FreeBSD-STABLE's threads are currently totally in userland. > > FreeBSD-CURRENT's threads will eventually be a sort of a hybrid design, > > with kernel support for multiple threads so that different parts of the > > kernel, and different userland threads can be run on different > > processors. > > The FreeBSD implementation in -CURRENT is similar to the Scheduler > > Activation method. The thread scheduler is in userland with an upcall > > into > > the kernel that can cause threads to be scheduled across multiple > > processors. I'm not sure that's quite working yet, but work is > > progressing > > in -CURRENT, and from what I hear, should be ready in time for > > 5.1-RELEASE > > > > Ken > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-arch" in the body of the message > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message