From owner-freebsd-threads@FreeBSD.ORG Wed Apr 16 09:35:30 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 7E3CD37B401; Wed, 16 Apr 2003 09:35:30 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id C06F543FB1; Wed, 16 Apr 2003 09:35:29 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc03.attbi.com (sccrmhc03) with ESMTP id <2003041616352800300bttqoe>; Wed, 16 Apr 2003 16:35:29 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id JAA43594; Wed, 16 Apr 2003 09:35:27 -0700 (PDT) Date: Wed, 16 Apr 2003 09:35:25 -0700 (PDT) From: Julian Elischer To: Jeff Roberson In-Reply-To: <20030416022215.R76635-100000@mail.chesapeake.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@freebsd.org cc: John Baldwin Subject: Re: struct thread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 16:35:30 -0000 On Wed, 16 Apr 2003, Jeff Roberson wrote: > Is td_last_kse necessary? What about td_lastcpu? They don't really seem > to be used. td_last_kse and td_last_cpu were used in some experimental cpu affinity code that I gave up on (i.e. ran out of time). The idea was that the system would attempt to first schedule the thread on teh cpu it was last on , and if not available, on teh kse that it last ran on. I never removed the items but was hoping that someone, seeing the names there would feel tempted to implement affinity.. (Alfred mumbled about trying it). > > Also, td_locks is unused, although it would be nice to have it > implemented. I think ithis is a jhb field > > td_sleeplocks should be ifdefed with WITNESS. ditto > > Cheers, > Jeff > > _______________________________________________ > 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" >