K 10 svn:author V 3 mav K 8 svn:date V 27 2021-04-07T00:35:03.323270Z K 7 svn:log V 607 Move time math out of disabled interrupts sections. We don't need the result before next sleep time, so no reason to additionally increase interrupt latency. While there, remove extra PM ticks to microseconds conversion, making C2/C3 sleep times look 4 times smaller than really. The conversion is already done by AcpiGetTimerDuration(). Now I see reported sleep times up to 0.5s, just as expected for planned 2 wakeups per second. MFC after: 1 month (cherry picked from commit 2cee045b4d62568d065b838a6cf129fed2424709) Git Hash: 0d745e16f2d79951a35d822a26c7145de804cc26 Git Author: mav@FreeBSD.org END