Rafael J. Wysocki
f1c8e410cd
cpuidle: menu: Avoid computations when result will be discarded
...
If the minimum interval taken into account in the average computation
loop in get_typical_interval() is less than the expected idle
duration determined so far, the resultant average cannot be greater
than that value as well and the entire return result of the function
is going to be discarded anyway going forward.
In that case, it is a waste of time to carry out the remaining
computations in get_typical_interval(), so avoid that by returning
early if the minimum interval is not below the expected idle duration.
No intentional changes of behavior.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2018-10-18 09:34:13 +02:00
..
governors
cpuidle: menu: Avoid computations when result will be discarded
2018-10-18 09:34:13 +02:00
coupled.c
smp: Avoid using two cache lines for struct call_single_data
2017-08-29 15:14:38 +02:00
cpuidle-arm.c
ARM: cpuidle: silence error on driver registration failure
2018-06-25 09:33:34 +02:00
cpuidle-at91.c
cpuidle-big_little.c
cpuidle-calxeda.c
cpuidle-clps711x.c
cpuidle-cps.c
Update MIPS email addresses
2017-11-03 09:02:30 -07:00
cpuidle-exynos.c
cpuidle: Enable coupled cpuidle support on Exynos3250 platform
2018-03-29 13:06:08 +02:00
cpuidle-kirkwood.c
cpuidle-mvebu-v7.c
cpuidle-powernv.c
powernv/cpuidle: Use parsed device tree values for cpuidle_init
2018-07-31 19:56:44 +10:00
cpuidle-pseries.c
powerpc/pseries/cpuidle: add polling idle for shared processor guests
2018-01-18 15:43:44 +11:00
cpuidle-ux500.c
cpuidle-zynq.c
cpuidle.c
cpuidle: enter_state: Don't needlessly calculate diff time
2018-09-18 09:32:56 +02:00
cpuidle.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
driver.c
cpuidle: Make drivers initialize polling state
2017-08-30 03:06:33 +02:00
dt_idle_states.c
Merge branch 'pm-sleep'
2017-09-04 00:06:02 +02:00
dt_idle_states.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
governor.c
cpuidle: governors: Consolidate PM QoS handling
2018-05-30 23:13:00 +02:00
Kconfig
Kconfig.arm
ARM: cpuidle: Support asymmetric idle definition
2017-06-24 01:51:00 +02:00
Kconfig.mips
Kconfig.powerpc
Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
poll_state.c
cpuidle: poll_state: Revise loop termination condition
2018-10-04 19:27:27 +02:00
sysfs.c
PM: cpuidle/suspend: Add s2idle usage and time state attributes
2018-03-29 13:06:08 +02:00