Date: Fri, 23 Nov 2001 08:06:12 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Julian Elischer <julian@elischer.org> Cc: arch@freebsd.org Subject: RE: Kernel Thread scheduler Message-ID: <XFMail.011123080612.jhb@FreeBSD.org> In-Reply-To: <Pine.BSF.4.21.0111220124220.41963-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22-Nov-01 Julian Elischer wrote: >> A ksegroup also has a pointer to the highest priority runnable thread w/o a >> reserved KSE, which is important for when a running thread blocks and the >> KSE >> needs to pick anotehr thread to run so that we know what thread to give to >> the >> KSE that we steal the thread from. >> > > I made a slight change to this in the pictures. > (did you look at them yet? what do you think?) > Instead of being a pointer to the next 'unassigned' thread, > I made it a pointer to the "last assigned thread". > > It happens to fall out better in some cases. > (e.g. you can find the last assigned thread when it is also the "last > thread" as well.. If you used "first-unassigned" it would have to be NULL > as all are assigned..) That sounds fine. I just wanted the list here to be complete since not everyone has time to look at URLs. :) -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011123080612.jhb>
