cvs commit: src/sys/dev/coretemp coretemp.c
nate at root.org
Thu Aug 23 08:23:30 PDT 2007
Dag-Erling Smørgrav wrote:
> Dag-Erling Smorgrav <des at FreeBSD.org> writes:
>> 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
You could also create a polling thread that runs every 10 seconds. We
have that for acpi_thermal currently.
More information about the cvs-src