From owner-freebsd-arch Fri Nov 23 8: 6:20 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mail11.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 1980237B405 for ; Fri, 23 Nov 2001 08:06:13 -0800 (PST) Received: (qmail 25527 invoked from network); 23 Nov 2001 16:06:25 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 Nov 2001 16:06:25 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 23 Nov 2001 08:06:12 -0800 (PST) From: John Baldwin To: Julian Elischer Subject: RE: Kernel Thread scheduler Cc: arch@freebsd.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 <>< 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