From owner-cvs-src@FreeBSD.ORG Sun Nov 6 22:39:22 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 8B73C16A41F; Sun, 6 Nov 2005 22:39:22 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEB0543D6A; Sun, 6 Nov 2005 22:39:17 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.5.50] (ppp-71-139-0-107.dsl.snfc21.pacbell.net [71.139.0.107]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id jA6Md9xq018134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 6 Nov 2005 14:39:13 -0800 Message-ID: <436E860D.6000201@root.org> Date: Sun, 06 Nov 2005 14:39:09 -0800 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Poul-Henning Kamp References: <6458.1131306853@critter.freebsd.dk> In-Reply-To: <6458.1131306853@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , Mike Silbersack , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/modules/acpi/acpi Makefile src/sys/dev/acpica acpi_battery.c acpi_smbat.c acpi_smbus.h acpiio.h 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: Sun, 06 Nov 2005 22:39:22 -0000 Poul-Henning Kamp wrote: > In message <436E5797.7090605@root.org>, Nate Lawson writes: >>I've said it many times: we need a real predictive algorithm. Taking a >>single sample will always have hysteresis problems. > > > I implemented my own algorithm and it works OK for me. Not perfect, > but OK: > http://phk.freebsd.dk/patch/powerd.patch I think that's what we have in -current, except we promote by 2 instead of 3. That version was contributed by multiple people, including you earlier. Is this version substantially different? -- Nate