FIXUP: sched: fix set_cfs_cpu_capacity when WALT is in use
authorPatrick Bellasi <patrick.bellasi@arm.com>
Thu, 30 Jun 2016 14:00:41 +0000 (15:00 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:32:22 +0000 (15:02 +0530)
commit3dfa385fc028080c7952b7226c72f4424d221d2c
treea18a8cc2335717735c84718401578219af253d78
parentcf8449f421c99c6482c5b8ef26858dc5aa206628
FIXUP: sched: fix set_cfs_cpu_capacity when WALT is in use

The CPU utilization reported when WALT is in use already tracks the
contributions due to RT and DL workloads. However, SchedFreq exposes
different capacity update functions, one for each class, and does classes
utilization internally at update_cpu_capacity_request() call time.

This patch ensures that when WALT is in use, the:
  cpu_sched_capacity_reqs::cfs
value is tracking just the load generated by SCHED_OTHER tasks.

Change-Id: Ibd9c9a10874a1d91f62477034548f7664e57cd6a
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
kernel/sched/sched.h