From owner-cvs-src@FreeBSD.ORG Tue Oct 30 22:18:09 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2E5916A46E; Tue, 30 Oct 2007 22:18:09 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8D7EE13C48E; Tue, 30 Oct 2007 22:18:09 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9UMI9FA052579; Tue, 30 Oct 2007 22:18:09 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9UMI9vd052578; Tue, 30 Oct 2007 22:18:09 GMT (envelope-from njl) Message-Id: <200710302218.l9UMI9vd052578@repoman.freebsd.org> From: Nate Lawson Date: Tue, 30 Oct 2007 22:18:09 +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 kern_cpu.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 30 Oct 2007 22:18:09 -0000 njl 2007-10-30 22:18:09 UTC FreeBSD src repository Modified files: sys/kern kern_cpu.c Log: If we're on an SMP kernel and there is more than 1 CPU, reject any attempts to change the freq before the other CPUs are active. The current code always attempts to change all CPUs to match each other, and the requisite sched_bind() call won't work before APs are launched. Revision Changes Path 1.28 +17 -1 src/sys/kern/kern_cpu.c