33a5b918cf
https://mail-index.netbsd.org/tech-kern/2015/10/14/msg019511.html don't sleep on sme->sme_mtx in the callout but use mutex_tryenter() and just reschedule the callout if we can't get the mutex now. This fixes a deadlock which can happen if the backed wants to sleep with timeout (e.g. cv_timedwait()) as the backed is called with sme->sme_mtx held. This is a stopgap measure for netbsd-7; sysmon should be changed to not sleep (or call a backend which will sleep) with mutexes held. |
||
---|---|---|
.. | ||
files.sysmon | ||
swsensor.c | ||
swwdog.c | ||
sysmon_envsys_events.c | ||
sysmon_envsys_tables.c | ||
sysmon_envsys_util.c | ||
sysmon_envsys.c | ||
sysmon_envsysvar.h | ||
sysmon_power.c | ||
sysmon_taskq.c | ||
sysmon_taskq.h | ||
sysmon_wdog.c | ||
sysmon.c | ||
sysmonvar.h |