git: kernel/acpi_thermal: Improve hw.acpi.thermal.polling_rate sysctl behaviour
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Sat May 16 13:28:51 PDT 2015
commit 531566e66397de31692200b6ce1f7ba09d924593
Author: Imre Vadász <imre at vdsz.com>
Date: Sat May 16 19:49:39 2015 +0200
kernel/acpi_thermal: Improve hw.acpi.thermal.polling_rate sysctl behaviour
* No longer allow setting hw.acpi.thermal.polling_rate to negative or to
meaninglessly large values of more than 3600s.
* Wake up the acpi_tz_thread after changing hw.acpi.thermal.polling_rate,
to wake it up when hw.acpi.thermal.polling_rate was set to 0 (i.e.
disabled polling) or a very large value before.
Summary of changes:
share/man/man4/acpi_thermal.4 | 9 ++++++++-
sys/dev/acpica/acpi_thermal.c | 36 +++++++++++++++++++++++++++++++-----
2 files changed, 39 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/531566e66397de31692200b6ce1f7ba09d924593
--
DragonFly BSD source repository
More information about the Commits
mailing list