cvs commit: src/sys/dev/coretemp coretemp.c

Rui Paulo rpaulo at fnop.net
Fri Aug 24 05:21:32 PDT 2007


Nate Lawson wrote:
> Dag-Erling Smørgrav wrote:
>> Dag-Erling Smorgrav <des at 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.

Will do that when I find time.

Regards.
-- 
Rui Paulo


More information about the cvs-src mailing list