From owner-cvs-all Tue Jul 16 10:58:25 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B532837B400; Tue, 16 Jul 2002 10:58:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AE3B43E4A; Tue, 16 Jul 2002 10:58:22 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Received: from freefall.freebsd.org (dillon@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6GHwMJU044949; Tue, 16 Jul 2002 10:58:22 -0700 (PDT) (envelope-from dillon@freefall.freebsd.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6GHwMJk044948; Tue, 16 Jul 2002 10:58:22 -0700 (PDT) Message-Id: <200207161758.g6GHwMJk044948@freefall.freebsd.org> From: Matt Dillon Date: Tue, 16 Jul 2002 10:58:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 machdep.c swtch.s src/sys/i386/include asnames.h X-FreeBSD-CVS-Branch: RELENG_4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dillon 2002/07/16 10:58:22 PDT Modified files: (Branch: RELENG_4) sys/i386/i386 machdep.c swtch.s sys/i386/include asnames.h Log: MFC i386/i386/machdep.c 1.520 and rearrange the original -stable code a bit to look more like -current. Adds support for the 'machdep.cpu_idle_hlt' sysctl on SMP machines. The default is still 0 for SMP since -stable has the same non-fatal run-queue race that current has (a 1-tick run latency if the race is lost). Setting the value to 1 will save power. Tested: my Smart-UPS 1400 reports 81.2% utilization with cpu_idle_hlt enabled and 81.9% with it disabled on one box, and 83.8% utilization with it disabled on three boxes. Revision Changes Path 1.385.2.24 +31 -0 src/sys/i386/i386/machdep.c 1.89.2.8 +5 -1 src/sys/i386/i386/swtch.s 1.44.2.7 +1 -0 src/sys/i386/include/asnames.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message