From owner-freebsd-current Mon Jul 9 11: 8:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id E62BE37B403; Mon, 9 Jul 2001 11:08:13 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.244.104.114.Dial1.SanJose1.Level3.net [209.244.104.114]) by albatross.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA12478; Mon, 9 Jul 2001 11:08:01 -0700 (PDT) Message-ID: <3B49F325.E2C6FEC8@mindspring.com> Date: Mon, 09 Jul 2001 11:08:37 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John Baldwin Cc: Julian Elischer , current@FreeBSD.ORG, Jason Evans , Peter Wemm Subject: Re: RFC: Kernel thread system nomenclature. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 John Baldwin wrote: > >#3 struct upctx (upcall-context), virtcpu, thrdslot (thread slot) > >#4 struct lwp (decided) > > > > usually the 'lwp' will be passed around so diffs to NetBSD will be > > minimalised. > > One thing to note is that as Vahalia (sp?) points out, lwp > on SVR4 and Solaris is actually #3 (a virtual CPU) where as > lwp on SunOS is a user-thread. Unfortunately, I think by > using overloaded terms you are going to confuse people who > come into the project from different backgrounds. I would > try and stay with non-ambiguous names if possible. Virtual CPUs are a very bad idea. The main reason SVR4 and Solaris threading didn't scale well from day one is the "virtual CPU" approach. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message