diff options
author | Len Brown <len.brown@intel.com> | 2014-12-16 07:52:08 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-17 02:26:28 +0100 |
commit | 62c4cf97e82cf79446642e599d155884f600cf17 (patch) | |
tree | 489351bd5d2f5df2913c5877be886e57b092425f /drivers/cpuidle | |
parent | cpuidle: ladder: Better idle duration measurement without using CPUIDLE_FLAG_... (diff) | |
download | linux-62c4cf97e82cf79446642e599d155884f600cf17.tar.xz linux-62c4cf97e82cf79446642e599d155884f600cf17.zip |
cpuidle / ACPI: remove unused CPUIDLE_FLAG_TIME_INVALID
CPUIDLE_FLAG_TIME_INVALID is no longer checked
by menu or ladder cpuidle governors, so don't
bother setting or defining it.
It was originally invented to account for the fact that
acpi_safe_halt() enables interrupts to invoke HLT.
That would allow interrupt service routines to be included
in the last_idle duration measurements made in cpuidle_enter_state(),
potentially returning a duration much larger than reality.
But menu and ladder can gracefully handle erroneously large duration
intervals without checking for CPUIDLE_FLAG_TIME_INVALID.
Further, if they don't check CPUIDLE_FLAG_TIME_INVALID, they
can also benefit from the instances when the duration interval
is not erroneously large.
Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions