From owner-cvs-src@FreeBSD.ORG Fri Aug 24 12:21:32 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 7255D16A468; Fri, 24 Aug 2007 12:21:32 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id DE43E13C442; Fri, 24 Aug 2007 12:21:31 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id C9957691005; Fri, 24 Aug 2007 13:24:46 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 85848691015; Fri, 24 Aug 2007 13:24:46 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,RCVD_IN_XBL autolearn=no version=3.1.7 Received: from epsilon.mshome.net (62.169.100.218.rev.optimus.pt [62.169.100.218]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by core.fnop.net (Postfix) with ESMTP id 1E797691005; Fri, 24 Aug 2007 13:24:41 +0100 (WEST) Message-ID: <46CECD3E.1040302@fnop.net> Date: Fri, 24 Aug 2007 13:21:18 +0100 From: Rui Paulo User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Nate Lawson References: <200708231053.l7NAr3Pc088160@repoman.freebsd.org> <86zm0izfhf.fsf@ds4.des.no> <46CDA669.8080601@root.org> In-Reply-To: <46CDA669.8080601@root.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= , src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/coretemp coretemp.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: Fri, 24 Aug 2007 12:21:32 -0000 Nate Lawson wrote: > Dag-Erling Smørgrav wrote: >> Dag-Erling Smorgrav writes: >>> Log: >>> Style nits + more reliable Tj(max) detection + improved reporting of >>> critical temperature + sched_unbind() after rdmsr + initialize sc_dev. >> I should note that the driver currently only checks for (and reports) a >> critical temperature when you read the sysctl; if you want to use devd >> to react to a critical temperature, you need to set up a cron job to >> poll dev.cpu.N.temperature. Hopefully, a future version of the driver >> will install an interrupt handler and activate the temperature threshold >> interrupts. >> >> DES > > You could also create a polling thread that runs every 10 seconds. We > have that for acpi_thermal currently. Will do that when I find time. Regards. -- Rui Paulo