From owner-freebsd-threads@FreeBSD.ORG Sat Jun 14 03:24:41 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56B8437B401; Sat, 14 Jun 2003 03:24:41 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5249643FE0; Sat, 14 Jun 2003 03:24:40 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from tiger (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with SMTP id h5EAObUp008156; Sat, 14 Jun 2003 03:24:38 -0700 (PDT) (envelope-from davidxu@freebsd.org) Message-ID: <001301c3325f$9c55b390$0701a8c0@tiger> From: "David Xu" To: "Marcel Moolenaar" References: <20030614064617.5FD8837B404@hub.freebsd.org><002901c33242$1b47da70$0701a8c0@tiger> <20030614081853.GD5563@athlon.pn.xcllnt.net> Date: Sat, 14 Jun 2003 18:27:49 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 cc: threads@freebsd.org Subject: Re: PTHREADED -> P_SA X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Xu List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jun 2003 10:24:41 -0000 ----- Original Message -----=20 From: "Marcel Moolenaar" To: "David Xu" Cc: Sent: Saturday, June 14, 2003 4:18 PM Subject: Re: PTHREADED -> P_SA > On Sat, Jun 14, 2003 at 02:56:36PM +0800, David Xu wrote: > >=20 > > > I will rename flag P_THREADED to P_SA in kernel, any objections ? > > > here is the patch: > > > http://people.freebsd.org/~davidxu/P_SA.diff > > >=20 > > > It's only semantics.. > > > but it's been changes before.. is this the final name? > >=20 > > Yes, I think it should be final. >=20 > P_THREADED says more than P_SA for someone who's not intimate > with the code. I for one don't know what SA stands for, but > apparently it's some kind of threading model/implementation > if I can believe the comments. In that case I don't know what's > so wrong about P_THREADED. >=20 > So, why is P_SA better than P_THREADED? >=20 If you find there is 1:1 threading mode Jeff added in kernel, I bet you will understand why I need to change it to P_SA. why shouldn't 1:1 code be called as P_THREADED ? I think this flags is confusing. P_SA tells you that the threading mode a process is using is Scheduler Activation based --- Anderson's theory. > --=20 > Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to = "freebsd-threads-unsubscribe@freebsd.org" >=20 David Xu