Date: Wed, 04 Jul 2001 09:48:05 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Julian Elischer <julian@elischer.org> Cc: current@FreeBSD.ORG Subject: RE: RFC: Kernel thread system nomenclature. Message-ID: <XFMail.010703154047.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.21.0107021319090.13213-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 02-Jul-01 Julian Elischer wrote: > > The time has come (now that we have a design) to assign names to the > various entities that will be created when we implement the > (current name) KSE code. I'm not sure the current names are all that bad. Hopefully one is going to be doing some reading before diving and modifying this stuff. Here are some suggestions anyways. > Suggested names: proc, task (others?) This should stay 'proc' as it is still the actual process (it holds the pid, etc.) Every reference I've seen to kernels with threads still calls this a process. > Suggested names: schedblock (SB), > Kernel Schedulabale Entity Group (KSEG), > KSE (confusing but acurate), > SchedEntry, (SE?), > Process Schduling control block (pscb) threadgroup (threadgrp), we already have process groups for a set of related processes. > Suggested names: Kernel Schedulable Entity(KSE), > thread container(TC), > Scheduler Virtual processor(SVP), > Scheduler Slot(schedslot, ss?) > Thread processor (tp?) virtcpu > Suggested names: Thread Context Block (TCB) > Kernel Schedulabel Entity Context (KSEC) > Thread Context (TCTX) thread This makes the most sense, and allows curproc to become curthread. This should most definitely _not_ be proc. Get it conceptually right rather than minimize diffs. -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010703154047.jhb>