Pierre Gondois
e7a1b32e43
cpufreq: Rebuild sched-domains when removing cpufreq driver
...
The Energy Aware Scheduler (EAS) relies on the schedutil governor.
When moving to/from the schedutil governor, sched domains must be
rebuilt to allow re-evaluating the enablement conditions of EAS.
This is done through sched_cpufreq_governor_change().
Having a cpufreq governor assumes a cpufreq driver is running.
Inserting/removing a cpufreq driver should trigger a re-evaluation
of EAS enablement conditions, avoiding to see EAS enabled when
removing a running cpufreq driver.
Rebuild the sched domains in schedutil's sugov_init()/sugov_exit(),
allowing to check EAS's enablement condition whenever schedutil
governor is initialized/exited from.
Move relevant code up in schedutil.c to avoid a split and conditional
function declaration.
Rename sched_cpufreq_governor_change() to sugov_eas_rebuild_sd().
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com >
Acked-by: Viresh Kumar <viresh.kumar@linaro.org >
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
2023-10-06 22:05:56 +02:00
..
2023-09-09 14:25:11 -07:00
2023-09-02 08:27:17 -07:00
2023-09-05 11:01:47 -07:00
2023-09-04 13:20:19 -07:00
2023-09-08 05:58:32 -03:00
2023-08-23 10:32:39 +02:00
2023-08-31 12:43:10 -07:00
2023-08-18 10:12:07 -07:00
2023-08-18 10:18:58 -07:00
2023-08-28 14:33:11 -07:00
2023-06-09 23:29:50 +10:00
2023-06-05 13:56:52 +02:00
2023-08-29 14:53:51 -07:00
2023-08-29 09:39:08 -07:00
2023-09-01 09:38:00 -07:00
2023-09-07 14:19:42 +02:00
2023-09-01 09:38:00 -07:00
2023-10-06 22:05:56 +02:00
2023-09-02 09:01:48 -07:00
2023-09-02 11:10:50 -07:00
2023-08-30 08:17:35 -07:00
2022-09-01 17:39:30 -04:00
2023-08-15 18:16:14 -04:00
2023-07-21 12:17:25 -04:00
2023-08-15 18:16:14 -04:00
2023-09-07 18:33:07 -07:00
2022-09-26 19:46:09 -07:00
2023-08-08 16:48:47 -04:00
2022-09-26 10:13:13 -07:00
2023-03-14 19:32:38 -07:00
2023-06-05 09:57:20 +02:00
2023-01-13 11:48:15 +01:00
2023-08-30 12:24:22 +02:00
2023-08-29 14:53:51 -07:00
2023-08-18 10:18:49 -07:00
2023-04-18 16:39:34 -07:00
2023-06-01 17:15:33 -04:00
2023-02-08 13:36:22 +01:00
2023-09-01 15:44:45 -07:00
2022-09-07 21:53:50 +02:00
2023-05-28 16:20:21 +09:00
2023-04-08 13:45:37 -07:00
2023-08-21 13:37:28 -07:00
2023-03-24 11:01:29 +01:00
2022-12-01 15:53:05 -08:00
2022-11-12 18:47:36 -08:00
2023-08-29 17:32:32 -07:00
2022-11-15 00:42:02 -08:00
2023-08-25 15:00:36 -07:00
2023-08-24 16:25:14 -07:00
2023-06-09 17:44:17 -07:00
2023-08-24 16:25:13 -07:00
2023-08-30 09:16:56 -07:00
2022-09-11 21:55:06 -07:00
2023-08-24 16:25:14 -07:00
2023-03-24 20:10:59 -07:00
2023-08-23 09:38:17 +09:00
2023-06-08 12:27:20 -07:00
2023-08-24 16:25:14 -07:00
2023-08-18 10:18:59 -07:00
2022-09-11 21:55:12 -07:00
2023-06-28 15:51:08 -07:00
2023-04-08 13:45:38 -07:00
2023-08-21 11:29:12 -07:00
2023-03-14 17:06:44 +08:00
2023-08-18 10:12:02 -07:00
2023-07-10 12:47:01 -07:00
2023-08-21 13:37:59 -07:00
2023-08-21 13:37:59 -07:00
2023-08-21 13:37:59 -07:00
2022-09-11 21:55:12 -07:00
2023-04-16 14:23:07 +02:00
2022-10-04 15:59:36 +02:00
2023-08-18 10:18:55 -07:00
2023-02-17 14:58:01 -08:00
2022-12-27 12:52:12 +01:00
2023-07-14 15:02:57 -07:00
2022-11-09 18:06:35 +00:00
2023-08-17 12:32:15 -07:00
2023-08-18 10:18:50 -07:00
2023-07-10 14:19:04 -07:00
2023-05-15 13:45:00 +02:00
2023-07-13 15:21:50 +02:00
2023-04-20 11:36:35 +02:00
2022-10-17 16:41:16 +02:00
2023-08-02 15:01:51 -07:00
2023-07-17 12:53:21 -07:00
2022-09-08 16:56:45 -07:00
2023-06-28 16:05:21 -07:00
2022-09-11 21:55:10 -07:00
2022-08-29 12:47:15 +01:00
2023-08-14 15:01:08 -07:00
2023-02-18 14:34:36 -05:00
2023-08-15 15:26:17 -07:00
2023-06-29 15:19:43 -07:00
2023-02-02 22:50:04 -08:00
2022-11-30 20:16:49 -04:00
2023-04-13 11:49:35 -07:00
2023-06-08 15:43:09 -04:00
2023-06-06 10:47:04 +02:00
2023-06-19 16:25:28 -07:00
2023-06-09 17:44:21 -07:00
2023-08-18 10:19:00 -07:00
2023-08-07 15:57:22 -10:00
2023-08-29 09:52:16 -10:00