From owner-svn-src-head@FreeBSD.ORG Tue Nov 18 20:49:29 2008 Return-Path: Delivered-To: svn-src-head@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B62461065670; Tue, 18 Nov 2008 20:49:29 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (cl-2958.ham-01.de.sixxs.net [IPv6:2001:6f8:900:b8d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 38F598FC13; Tue, 18 Nov 2008 20:49:29 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.14.2/8.14.2) with ESMTP id mAIKnRff037114; Tue, 18 Nov 2008 23:49:27 +0300 (MSK) (envelope-from maxim@macomnet.ru) Date: Tue, 18 Nov 2008 23:49:27 +0300 (MSK) From: Maxim Konovalov To: Alexander Motin In-Reply-To: <200811181548.mAIFmNuL081972@svn.freebsd.org> Message-ID: <20081118234224.M56769@mp2.macomnet.net> References: <200811181548.mAIFmNuL081972@svn.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG Subject: Re: svn commit: r185053 - head/usr.sbin/powerd X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2008 20:49:29 -0000 On Tue, 18 Nov 2008, 15:48-0000, Alexander Motin wrote: > Author: mav > Date: Tue Nov 18 15:48:23 2008 > New Revision: 185053 > URL: http://svn.freebsd.org/changeset/base/185053 > > Log: > Restore original frequency on exit. > > PR: bin/113813 > [ patch skipped ] Not sure this is a correct aproach. What happen if admin changed (rose or lowered) the debug.cpufreq.lowest after he run powerd? So imho at exit we need to take an account a current value of debug.cpufreq.lowest. -- Maxim Konovalov