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
2018-06-15 07:15:28 +09:00
2019-03-21 16:25:26 -07:00
2019-01-13 09:51:05 +01:00
2019-08-16 11:27:10 +02:00
2019-05-17 16:05:09 -07:00
2019-07-21 09:03:13 +02:00
2019-07-10 09:53:40 +02:00
2019-07-31 07:27:09 +02:00
2019-06-11 12:38:58 +02:00
2018-11-13 11:08:48 -08:00
2019-05-31 06:46:30 -07:00
2019-08-16 14:46:14 +01:00
2019-07-26 09:14:10 +02:00
2019-08-06 20:08:18 +02:00
2019-06-12 12:33:20 +00:00
2019-05-31 06:46:05 -07:00
2018-05-18 14:58:22 +02:00
2018-08-17 09:41:28 -07:00
2018-07-18 11:43:36 -04:00
2018-07-17 14:45:08 -04:00
2019-05-31 06:46:17 -07:00
2018-08-15 10:46:54 -07:00
2018-11-13 11:08:47 -08:00
2019-05-20 17:46:32 -07:00
2018-06-24 14:39:47 +02:00
2019-07-22 14:36:16 +02:00
2018-08-22 10:52:47 -07:00
2019-07-31 07:27:11 +02:00
2019-03-21 16:25:26 -07:00
2018-05-16 07:23:35 +02:00
2018-05-16 07:23:35 +02:00
2019-08-12 13:36:37 -04:00
2018-06-21 12:33:19 +02:00
2019-08-12 13:36:37 -04:00
2018-08-06 12:35:20 +02:00
2019-05-10 17:54:11 +02:00
2019-06-12 12:35:31 +00:00
2019-04-20 09:16:02 +02:00
2018-05-15 23:08:33 -07:00
2019-05-31 06:46:19 -07:00
2019-06-04 08:02:34 +02:00
2019-05-20 17:46:32 -07:00
2018-08-02 08:06:54 +09:00
2019-02-12 19:47:20 +01:00
2018-06-15 07:55:24 +09:00
2018-06-12 16:19:22 -07:00
2018-07-16 12:31:57 -07:00
2019-06-12 12:33:54 +00:00
2019-04-27 09:36:37 +02:00
2019-03-22 23:07:04 +00:00
2019-07-25 09:36:26 -07:00
2019-01-13 09:51:04 +01:00
2018-07-02 11:36:17 +02:00
2018-07-02 11:36:17 +02:00
2019-08-06 20:08:18 +02:00
2019-07-26 09:14:25 +02:00
2018-12-29 13:37:57 +01:00
2018-04-11 10:28:37 -07:00
2019-07-26 09:14:01 +02:00
2019-08-12 13:36:37 -04:00
2019-07-10 09:53:41 +02:00
2018-08-06 12:35:20 +02:00
2019-03-13 14:02:35 -07:00
2018-06-08 17:21:52 -07:00
2018-07-10 22:18:52 +02:00
2018-06-06 16:34:00 -07:00
2019-08-12 13:36:37 -04:00
2019-02-12 19:47:25 +01:00
2018-07-03 09:20:44 +02:00
2018-08-03 15:52:10 +02:00
2018-08-13 11:25:07 -07:00
2019-08-12 13:36:37 -04:00
2019-06-15 16:12:59 +02:00
2018-04-16 11:26:49 +02:00
2019-06-15 16:12:59 +02:00
2018-06-21 12:33:05 +02:00
2018-06-25 11:30:10 -07:00
2018-10-17 15:35:29 -04:00
2018-04-05 21:36:27 -07:00
2018-04-02 20:15:59 +02:00
2018-04-02 20:15:30 +02:00
2018-06-07 16:56:28 -04:00
2018-11-13 11:09:00 -08:00
2019-03-06 15:59:21 +00:00
2018-08-11 02:05:53 -05:00
2018-04-11 10:28:35 -07:00
2018-08-30 12:56:40 +02:00
2019-04-03 06:26:29 +02:00
2019-03-21 16:25:27 -07:00
2019-05-02 10:13:34 +02:00