[Bug 248901] processor critical temperature check only executed if temperature is first queried using sysctl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 28 13:25:00 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248901

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj at FreeBSD.org

--- Comment #3 from Mark Johnston <markj at FreeBSD.org> ---
(In reply to Martin Birgmeier from comment #2)
> Actually the behavior is that it suffices to *once* execute the sysctl; after that, the critical temperature warnings are printed every few seconds.

Are you sure?  The only code that prints that message is in a sysctl handler.

I tend to agree that we should regularly poll the sysctls by some mechanism
like a sensor framework.  We do provide the throttle_log sysctl and a devd
event for the throttle and critical thresholds, so there is some notification
apart from the console message.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list