cpuidle: default processor.latency_factor=2
authorLen Brown <len.brown@intel.com>
Fri, 14 Dec 2007 05:24:15 +0000 (00:24 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 14 Dec 2007 05:24:15 +0000 (00:24 -0500)
commit25de5718356e264820625600a9edca1df5ff26f8
tree8ff2520cfa979efcc84c69a7bd3b74a0a8370cfc
parent4963f62045b64f93c45fbcb6f8f0baf1e3e7a127
cpuidle: default processor.latency_factor=2

More aggressively request deep C-states.

Note that the job of the OS is to minimize latency
impact to expected break events such as interrupts.

It is not the job of the OS to try to calculate if
the C-state will reach energy break-even.
The platform doesn't give the OS enough information
for it to make that calculation.  Thus, it is up
to the platform to decide if it is worth it to
go as deep as the OS requested it to, or if it
should internally demote to a more shallow C-state.

But the converse is not true.  The platform can not
promote into a deeper C-state than the OS requested
else it may violate latency constraints.  So it is
important that the OS be aggressive in giving the
platform permission to enter deep C-states.

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_idle.c