From owner-freebsd-current@FreeBSD.ORG Thu Apr 17 16:26:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB4ED37B401 for ; Thu, 17 Apr 2003 16:26:56 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1183043FCB for ; Thu, 17 Apr 2003 16:26:56 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc01.attbi.com (sccrmhc01) with ESMTP id <200304172326540010080pjpe>; Thu, 17 Apr 2003 23:26:55 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA56095; Thu, 17 Apr 2003 16:26:53 -0700 (PDT) Date: Thu, 17 Apr 2003 16:26:52 -0700 (PDT) From: Julian Elischer To: Jeff Roberson In-Reply-To: <20030417185808.S76635-100000@mail.chesapeake.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD current users Subject: some small patches X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 23:26:56 -0000 Here are two small patches they are pretty non-controversial in my opinion. they are part of a bigger patch, but I'd like to get them in separatly to simplify the bigger one. the first patch: http://www.freebsd.org/~julian/IDLETD.diff moves the flag that identifies a thread as being one of the idle threads from the KSE to the thread. The code that wants to know already has a thread pointer, but not the KSE pointer so this makes more sense. The second patch: http://www.freebsd.org/~julian/sched_clock.diff makes the sched_ API entrypoint sched_clock() take a thread argument instead of a KSE. Once again, the callers have the thread pointer and not the KSE pointer, and in fact they probably should not have the KSE pointer. anyone object to these patches?