Files
linux/include/trace/events
Vikram Mulukutla 44310bf8ab sched: walt: Correct WALT window size initialization
It is preferable that WALT window rollover occurs just
before a tick, since the tick is an opportune moment
to record a complete window's statistics, as well as report
those stats to the cpu frequency governor. When CONFIG_HZ
results in a TICK_NSEC that isn't a integral number, this
requirement may be violated. Account for this by reducing
the WALT window size to the nearest multiple of TICK_NSEC.

Commit d368c6faa1 ("sched: walt: fix window misalignment
when HZ=300") attempted to do this but WALT isn't using
MIN_SCHED_RAVG_WINDOW as the window size and the patch was
doing nothing.

Also, change the type of 'walt_disabled' to bool and warn
if an invalid window size causes WALT to be disabled.

Change-Id: Ie3dcfc21a3df4408254ca1165a355bbe391ed5c7
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
(cherry picked from commit e79f447a97)
Signed-off-by: Quentin Perret <quentin.perret@arm.com>
2017-12-01 16:11:15 +00:00
..
2016-02-26 10:52:48 +09:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-07-14 22:16:05 -07:00
2017-11-27 13:07:10 -08:00
2015-09-01 14:32:44 -07:00
2016-08-17 11:13:07 +02:00
2016-09-29 10:03:38 +02:00
2016-07-14 09:03:57 +02:00
2013-06-23 11:52:58 +02:00
2016-04-11 16:57:09 -04:00
2015-08-05 12:27:09 -07:00