Files
linux/kernel
Quentin Perret 8e9d3d0740 ANDROID: sched/fair: Cap transient util in stune
boosted_cpu_util() sums the CFS and RT util signals before they are used
for frequency selection. While the util_avg signals are in sync,
util_est prevents cpu_util_cfs() from decreasing when a CFS task is
preempted by RT.

This util_est behaviour is beneficial in many scenarios, but it can
cause the sum of rt_util and cfs_util to go above SCHED_CAPACITY_SCALE.
Although benign, this transient value appears in the stune tracepoints,
and can cause confusion.

Work around the problem by capping the util sum to SCHED_CAPACITY_SCALE.

Bug: 120440300
Change-Id: I2be6eb157af86024e52ae11715f5637c77b201a3
Signed-off-by: Quentin Perret <quentin.perret@arm.com>
2019-08-16 14:46:14 +01:00
..
2019-07-26 09:14:06 +02:00
2019-08-11 15:21:36 +02:00
2019-08-16 11:27:10 +02:00
2019-05-17 16:05:09 -07:00
2019-06-11 12:38:58 +02:00
2019-08-06 20:08:18 +02:00
2019-05-31 06:46:17 -07:00
2019-07-22 14:36:16 +02:00
2019-08-12 13:36:37 -04:00
2019-08-06 20:08:18 +02:00
2019-08-12 13:36:37 -04:00
2019-08-12 13:36:37 -04:00
2018-07-03 09:20:44 +02:00
2019-06-15 16:12:59 +02:00
2019-06-15 16:12:59 +02:00
2018-06-07 16:56:28 -04:00
2019-03-06 15:59:21 +00:00
2019-05-02 10:13:34 +02:00