Date: Thu, 23 Aug 2007 08:23:21 -0700 From: Nate Lawson <nate@root.org> To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/coretemp coretemp.c Message-ID: <46CDA669.8080601@root.org> In-Reply-To: <86zm0izfhf.fsf@ds4.des.no> References: <200708231053.l7NAr3Pc088160@repoman.freebsd.org> <86zm0izfhf.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote: > Dag-Erling Smorgrav <des@FreeBSD.org> 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. -Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46CDA669.8080601>