From owner-freebsd-arch Fri Dec 13 11:13:35 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 8C11337B401 for ; Fri, 13 Dec 2002 11:13:33 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9C5743E4A for ; Fri, 13 Dec 2002 11:13:32 -0800 (PST) (envelope-from higgsr@rpi.edu) Received: from webmail.rpi.edu (webmail.rpi.edu [128.113.26.21]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id gBDJDPrl167000; Fri, 13 Dec 2002 14:13:25 -0500 Message-Id: <200212131913.gBDJDPrl167000@mail.rpi.edu> Content-Type: text/plain Content-Disposition: inline To: nathan_arun@hotmail.com From: higgsr@rpi.edu Cc: arch@freebsd.org X-Originating-Ip: 24.195.2.73 Mime-Version: 1.0 Reply-To: higgsr@rpi.edu Date: Fri, 13 Dec 2002 14:13:25 EST X-Mailer: EMUmail 4.00 Subject: Re: Threads in FreeBSD X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 There is a paper describing -CURRENT's ideal model for thread support http://www.asdf.dk/sjov/freebsd_kse.pdf 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