Date: Sat, 14 Jun 2003 18:27:49 +0800 From: "David Xu" <davidxu@freebsd.org> To: "Marcel Moolenaar" <marcel@xcllnt.net> Cc: threads@freebsd.org Subject: Re: PTHREADED -> P_SA Message-ID: <001301c3325f$9c55b390$0701a8c0@tiger> References: <20030614064617.5FD8837B404@hub.freebsd.org><002901c33242$1b47da70$0701a8c0@tiger> <20030614081853.GD5563@athlon.pn.xcllnt.net>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----=20 From: "Marcel Moolenaar" <marcel@xcllnt.net> To: "David Xu" <davidxu@viatech.com.cn> Cc: <threads@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001301c3325f$9c55b390$0701a8c0>