CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/04/07 22:06:01
Modified files:
sys/sys : sensors.h
sys/kern : kern_sensors.c
sys/dev/acpi : acpi.c
Log message:
Sensors are run as callbacks inside tasks. During suspend a sensor
could be running inside a driver that will be force-detached, or due
to tsleep end up disrupting the softstate/hardstate contract. At
suspend time, quisce all these callbacks by waiting for completion.
This issue has never been observed for real, but may be implicated in
suspend/resume failures.
ok kettenis guenther mlarkin