From owner-cvs-src@FreeBSD.ORG Sun Nov 2 02:56:49 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF1CE16A4CE; Sun, 2 Nov 2003 02:56:49 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B9EB43F93; Sun, 2 Nov 2003 02:56:49 -0800 (PST) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hA2AunXJ067181; Sun, 2 Nov 2003 02:56:49 -0800 (PST) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hA2Aunqo067180; Sun, 2 Nov 2003 02:56:49 -0800 (PST) (envelope-from jeff) Message-Id: <200311021056.hA2Aunqo067180@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 2 Nov 2003 02:56:48 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2003 10:56:49 -0000 jeff 2003/11/02 02:56:48 PST FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Remove the ksq_loads[] array. We are only interested in three counts, the total load, the timeshare load, and the number of threads that can be migrated to another cpu. Account for these seperately. - Introduce a KSE_CAN_MIGRATE() macro which determines whether or not a KSE can be migrated to another CPU. Currently, this only checks to see if we're an interrupt handler. Eventually this will also be used to support CPU binding. Revision Changes Path 1.75 +50 -33 src/sys/kern/sched_ule.c