summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-05-02 22:30:33 +0000
committermav <mav@FreeBSD.org>2009-05-02 22:30:33 +0000
commitc2533a5a87888e415e5a218e11fec455c1d47b25 (patch)
treec5637d0fcb1933abb4169174ceff578526a62ccc /sys/pc98
parent7066780d7a9b6b9040590f989b5123498442edbb (diff)
downloadFreeBSD-src-c2533a5a87888e415e5a218e11fec455c1d47b25.zip
FreeBSD-src-c2533a5a87888e415e5a218e11fec455c1d47b25.tar.gz
Avoid comparing negative signed to positive unsignad values. It was
leading to a bug, when C-state does not decrease on sleep shorter then declared transition latency. Fixing this deprecates workaround for broken C-states on some hardware. By the way, change state selecting logic a bit. Instead of last sleep time use short-time average of it. Global interrupts rate in system is a quite random value, to corellate subsequent sleeps so directly.
Diffstat (limited to 'sys/pc98')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud