improve cx_lowest logic
Andriy Gapon
avg at FreeBSD.org
Fri Jul 13 08:15:41 UTC 2012
on 10/07/2012 18:49 Sean Bruno said the following:
> On Sun, 2012-07-08 at 03:22 -0700, Andriy Gapon wrote:
>> I would like to propose the following change for review and testing:
>> http://people.freebsd.org/~avg/acpi_cpu_cx_lowest.diff
>
> Very nice. After a review I went ahead and applied it for testing. All
> seems to be well on battery and A/C on my T520 so I'm very happy to see
> this go into the tree.
>
> Let me know if you want me to do the man page update for acpi_cpu(4)
Sean,
I would appreciate this a lot as I am currently a little bit busier than usual.
On a related note I also have this change for acpi.4:
--- a/share/man/man4/acpi.4
+++ b/share/man/man4/acpi.4
@@ -80,8 +80,12 @@ A scheduling algorithm will select states between
and this setting
as system load dictates.
To enable ACPI CPU idling control,
-.Va machdep.cpu_idle_hlt
-must be set to 1.
+.Va machdep.idle
+should be set to
+.Li acpi
+if it is listed in
+.Va machdep.idle_available
+.
.It Va hw.acpi.cpu.cx_supported
List of supported CPU idle states and their transition latency
in microseconds.
How does this look?
--
Andriy Gapon
More information about the freebsd-acpi
mailing list