From owner-freebsd-arch Tue Nov 2 13:42:37 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id A2E9E14C35 for ; Tue, 2 Nov 1999 13:42:31 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id WAA27472 for ; Tue, 2 Nov 1999 22:42:29 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id WAA82543 for freebsd-arch@freebsd.org; Tue, 2 Nov 1999 22:42:29 +0100 (MET) Received: by hub.freebsd.org (Postfix, from userid 758) id CA90B15438; Tue, 2 Nov 1999 13:40:56 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id BE8C11CD75C; Tue, 2 Nov 1999 13:40:56 -0800 (PST) (envelope-from kris@hub.freebsd.org) Date: Tue, 2 Nov 1999 13:40:56 -0800 (PST) From: Kris Kennaway To: "Daniel C. Sobral" Cc: Daniel Eischen , julian@whistle.com, nate@mt.sri.com, freebsd-arch@freebsd.org Subject: Solaris terminology In-Reply-To: <381D8046.812922F6@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 1 Nov 1999, Daniel C. Sobral wrote: > Not sure how are things these days there, but maybe they refer to > lwp as their previous implementation (userland threads) and threads > as their present implementation (kernel threads)? The Solaris terminology seems to be: User threads are scheduled over lightweight processes. Lightweight processors run in the kernel using execution contexts of Kernel Threads. Each LWP gets 1 and only 1 kernel thread, but you can bind N user threads to M LWPs, and M LWPs to P processors. Kernel Threads can also exist without a LWP, i.e. for purely in-kernel tasks like interrupt handling and periodic activities. LWP and KT are therefore more or less interchangable when you're talking about what happens to the process, and just depend on which side of the kernel you're in. Kris ---- Cthulhu for President! For when you're tired of choosing the _lesser_ of two evils.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message