summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPatrick Bellasi <patrick.bellasi@arm.com>2016-06-30 15:09:24 +0100
committerJohn Stultz <john.stultz@linaro.org>2016-08-11 14:26:45 -0700
commit5156b672040dfd29ba141e02689e1e92e34d525f (patch)
tree73272065b881307c7323d9b93b4978bb3f3ff2d6 /include
parent782c9d64a1d12aaf3d6decf7b54e212343bb3f7e (diff)
FIXUP: sched: fix SchedFreq integration for both PELT and WALT
The current kernel allows to use either PELT or WALT to track CPUs utilizations. One of the main differences between the two approaches is that PELT tracks only utilization of SCHED_OTHER classes while WALT tracks all tasks with a single signal. The current sched_freq_tick does not make this distinction and, when WALT is in use, we end up adding multiple time the contribution related to the RT and DL classes. This patch fixes this issue by: 1. providing two different code paths for PELT and WALT, thus granting that when we switch to PELT we get the original behaviour based on the assumption that class aggregations is done underneath by SchedFreq. 2. avoiding the double accounting of DL and RT workloads, when WALT is in use, by just adding a margin to the original WALT signal when we need to check if the CFS capacity has to be increased. Change-Id: I7326fd50e868e97fb5e12351917e9d2969bfdae7 Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions