From owner-cvs-all@FreeBSD.ORG Fri Feb 2 05:14:22 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91BF916A405; Fri, 2 Feb 2007 05:14:22 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 63B5E13C47E; Fri, 2 Feb 2007 05:14:22 +0000 (UTC) (envelope-from julian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l125EMwn062753; Fri, 2 Feb 2007 05:14:22 GMT (envelope-from julian@repoman.freebsd.org) Received: (from julian@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l125EMcG062752; Fri, 2 Feb 2007 05:14:22 GMT (envelope-from julian) Message-Id: <200702020514.l125EMcG062752@repoman.freebsd.org> From: Julian Elischer Date: Fri, 2 Feb 2007 05:14:22 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern sched_4bsd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 05:14:22 -0000 julian 2007-02-02 05:14:22 UTC FreeBSD src repository Modified files: sys/kern sched_4bsd.c Log: Move the seting of the idle_mask bits to a place where they can't be wrong. Also use the IDLETD bit in the thread mask to test if its an idle thread rather than doing a PCPU access. Revision Changes Path 1.96 +25 -17 src/sys/kern/sched_4bsd.c