CVSROOT:        /cvs
Module name:    src
Changes by:     mgloc...@cvs.openbsd.org        2020/12/12 02:44:27

Modified files:
        sys/dev/acpi   : asmc.c 

Log message:
The asmc sensor update task currently consumes ~50ms on each refresh cycle
because the asmc read/write functions are timing out regularly on each
cycle.  Since the sensor task is executed during kernel lock, this can
have a negative impact on time sensitive code, as seen with USB isoc
transfers.

Rewriting the asmc read/write functions to a similar execution pattern as
the Linux driver does, entirely removes the timeouts, and hence reduces
the asmc sensor update code to be executed within ~3ms.

ok mpi@

Reply via email to