kernel_optimize_test/include
Rafael J. Wysocki 296bb1e51a cpuidle: menu: Refine idle state selection for running tick
If the tick isn't stopped, the target residency of the state selected
by the menu governor may be greater than the actual time to the next
tick and that means lost energy.

To avoid that, make tick_nohz_get_sleep_length() return the current
time to the next event (before stopping the tick) in addition to the
estimated one via an extra pointer argument and make menu_select()
use that value to refine the state selection when necessary.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
2018-04-09 11:54:56 +02:00
..
acpi Merge branches 'acpi-battery', 'acpi-doc' and 'acpi-pmic' 2018-04-02 10:58:13 +02:00
asm-generic arch: remove obsolete architecture ports 2018-04-02 20:20:12 -07:00
clocksource
crypto
drm Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
dt-bindings
keys
kvm
linux cpuidle: menu: Refine idle state selection for running tick 2018-04-09 11:54:56 +02:00
math-emu
media media: platform: remove blackfin capture driver 2018-03-26 15:56:47 +02:00
memory
misc
net Merge branch 'syscalls-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/linux 2018-04-02 21:22:12 -07:00
pcmcia
ras
rdma RDMA/ucma: Introduce safer rdma_addr_size() variants 2018-03-28 16:13:36 -06:00
scsi SCSI fixes on 20180327 2018-03-27 14:11:46 -10:00
soc
sound Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
target
trace arch: remove obsolete architecture ports 2018-04-02 20:20:12 -07:00
uapi arch: remove obsolete architecture ports 2018-04-02 20:20:12 -07:00
video
xen