diff options
author | Rafael J. Wysocki | 2018-12-03 13:32:53 +0100 |
---|---|---|
committer | Rafael J. Wysocki | 2018-12-11 12:07:07 +0100 |
commit | 800fb34a99ce7d22dca839c90f869c7a12b50f70 (patch) | |
tree | b680b5950b8a9e998f6108a4f99c16760037b95c /drivers/cpuidle/cpuidle.c | |
parent | Documentation: admin-guide: PM: Add cpuidle document (diff) | |
download | kernel-qcow2-linux-800fb34a99ce7d22dca839c90f869c7a12b50f70.tar.gz kernel-qcow2-linux-800fb34a99ce7d22dca839c90f869c7a12b50f70.tar.xz kernel-qcow2-linux-800fb34a99ce7d22dca839c90f869c7a12b50f70.zip |
cpuidle: poll_state: Disregard disable idle states
When computing the limit of time to spend in the loop in poll_idle(),
use the target residency of the first enabled idle state deeper than
state 0 instead of always using the target residency of state 1.
This helps when state 1 is disabled for diagnostics, for instance.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle/cpuidle.c')
0 files changed, 0 insertions, 0 deletions