Will Deacon
1a96879cb3
FROMLIST: sched: Introduce task_cpu_possible_mask() to limit fallback rq selection
...
Asymmetric systems may not offer the same level of userspace ISA support
across all CPUs, meaning that some applications cannot be executed by
some CPUs. As a concrete example, upcoming arm64 big.LITTLE designs do
not feature support for 32-bit applications on both clusters.
On such a system, we must take care not to migrate a task to an
unsupported CPU when forcefully moving tasks in select_fallback_rq()
in response to a CPU hot-unplug operation.
Introduce a task_cpu_possible_mask() hook which, given a task argument,
allows an architecture to return a cpumask of CPUs that are capable of
executing that task. The default implementation returns the
cpu_possible_mask, since sane machines do not suffer from per-cpu ISA
limitations that affect scheduling. The new mask is used when selecting
the fallback runqueue as a last resort before forcing a migration to the
first active CPU.
Reviewed-by: Quentin Perret <qperret@google.com >
Signed-off-by: Will Deacon <will@kernel.org >
Bug: 178507149
Link: https://lore.kernel.org/linux-arch/20201208132835.6151-7-will@kernel.org/
Signed-off-by: Will Deacon <willdeacon@google.com >
Change-Id: I75985976c196cee7b84043e1a03fcc62f8b6d1c4
2021-02-05 09:20:52 +00:00
..
2020-11-03 22:30:31 +01:00
2020-10-29 17:22:59 -05:00
2020-11-24 15:13:54 +01:00
2020-12-30 11:54:19 +01:00
2021-01-28 17:57:10 +00:00
2020-10-29 17:22:59 -05:00
2020-10-21 11:22:08 -07:00
2020-12-03 11:18:36 -08:00
2020-10-23 11:59:44 +02:00
2020-10-25 14:51:49 -07:00
2020-12-11 10:26:31 +01:00
2020-11-27 13:18:40 +01:00
2021-01-13 10:28:55 +01:00
2020-10-24 10:39:22 -07:00
2020-11-12 15:05:34 +00:00
2020-12-30 11:53:30 +01:00
2021-02-05 07:40:24 +01:00
2021-01-21 18:07:24 -08:00
2021-01-27 15:23:18 -08:00
2021-01-27 09:43:35 +00:00
2020-10-29 16:51:28 +00:00
2020-10-28 11:13:36 +00:00
2020-10-28 21:20:34 +01:00
2020-10-24 17:29:43 +02:00
2021-01-12 20:18:17 +01:00
2021-01-12 20:18:17 +01:00
2020-11-19 08:55:44 -05:00
2020-10-22 09:59:21 -07:00
2021-01-14 16:32:10 +00:00
2020-12-11 14:02:14 -08:00
2020-10-25 14:51:49 -07:00
2021-01-14 16:28:57 +00:00
2021-01-25 12:21:02 -08:00
2020-11-02 09:27:42 +01:00
2020-10-25 14:51:49 -07:00
2021-01-14 16:29:15 +00:00
2021-01-14 16:29:15 +00:00
2021-01-19 18:27:21 +01:00
2020-11-14 11:26:03 -08:00
2020-12-08 19:08:52 +00:00
2020-11-13 08:26:07 +01:00
2020-12-08 19:09:23 +00:00
2020-10-19 14:28:30 -07:00
2020-11-06 18:49:04 +00:00
2020-10-30 08:37:39 +01:00
2020-10-25 16:27:51 +01:00
2021-01-27 12:12:33 +01:00
2021-01-19 18:27:22 +01:00
2021-02-02 18:47:43 +00:00
2021-02-03 21:04:43 -08:00
2021-01-13 18:26:46 +00:00
2021-01-13 18:27:04 +00:00
2020-10-25 14:51:49 -07:00
2020-12-11 14:02:14 -08:00
2021-01-07 22:30:38 +00:00
2021-01-14 16:30:01 +00:00
2020-12-21 13:33:14 -08:00
2020-10-27 16:22:43 +01:00
2020-10-25 14:51:49 -07:00
2021-02-03 18:27:38 +00:00
2021-01-06 09:39:43 -08:00
2020-12-30 11:54:18 +01:00
2020-11-24 16:16:54 +00:00
2021-01-21 18:06:50 -08:00
2020-11-12 13:59:04 -07:00
2020-12-01 18:07:54 +00:00
2020-12-01 18:05:53 +00:00
2020-10-22 22:44:35 +02:00
2021-01-22 18:01:16 +00:00
2020-10-25 14:51:49 -07:00
2021-01-14 16:29:15 +00:00
2021-01-12 20:18:24 +01:00
2020-11-10 19:07:11 +00:00
2020-11-04 10:22:56 -07:00
2021-01-12 14:55:16 +00:00
2020-10-20 07:10:14 -06:00
2020-11-04 08:52:46 -08:00
2021-01-12 20:11:03 +00:00
2020-10-26 09:20:21 +01:00
2020-11-30 12:21:31 +01:00
2020-11-19 22:38:29 -05:00
2020-10-29 13:17:58 -05:00
2021-01-19 21:47:30 -08:00
2021-01-19 21:47:32 -08:00
2021-01-09 13:46:23 +01:00
2020-10-25 14:51:49 -07:00
2020-10-23 03:42:13 -04:00
2020-10-25 14:51:49 -07:00
2021-01-11 16:43:50 +00:00
2020-10-25 14:51:49 -07:00
2020-11-26 09:35:49 -08:00
2021-01-12 18:23:34 +00:00
2021-01-22 18:00:23 +00:00
2021-01-22 18:00:57 +00:00
2021-02-04 23:48:50 +00:00
2021-02-05 09:20:52 +00:00
2020-12-01 18:07:41 +00:00
2021-01-14 16:28:57 +00:00
2021-01-19 21:47:30 -08:00
2020-10-25 14:51:49 -07:00
2020-11-28 12:04:57 -08:00
2020-10-30 12:57:39 +01:00
2020-10-30 12:57:39 +01:00
2020-10-21 18:24:08 -07:00
2020-11-30 10:52:22 -05:00
2020-10-21 10:31:20 -04:00
2020-11-22 10:48:22 -08:00
2020-10-25 14:51:49 -07:00
2021-01-21 18:02:19 -08:00
2021-01-08 17:03:42 +00:00
2021-01-19 22:17:15 +00:00
2021-01-19 21:47:30 -08:00
2021-01-22 18:01:16 +00:00
2021-01-14 16:29:15 +00:00
2020-10-25 14:51:49 -07:00
2020-11-09 18:12:34 +01:00
2020-11-09 18:12:34 +01:00
2020-11-16 16:57:18 +01:00
2020-10-28 11:41:15 -06:00
2020-10-18 09:27:10 -07:00
2020-12-14 09:18:49 -07:00
2020-11-16 09:37:01 -08:00
2020-10-26 10:16:46 +01:00
2020-10-24 20:21:57 +02:00
2020-10-25 14:51:49 -07:00
2020-12-30 11:53:56 +01:00
2021-01-21 18:04:03 -08:00
2021-01-28 17:57:12 +00:00
2020-10-24 10:39:22 -07:00
2021-01-19 18:27:28 +01:00
2020-10-28 11:41:15 -06:00
2021-01-22 18:00:48 +00:00
2021-01-13 10:28:55 +01:00
2021-01-28 02:50:00 +00:00
2021-01-07 17:56:54 -08:00
2020-12-11 10:26:31 +01:00
2020-12-30 11:53:42 +01:00
2020-11-06 10:05:18 -08:00
2020-10-25 14:51:49 -07:00
2021-01-22 10:05:52 -08:00
2021-01-22 10:05:52 -08:00
2020-10-25 11:39:02 -07:00
2020-10-25 14:51:49 -07:00
2020-10-22 14:15:51 -06:00
2020-12-08 14:52:29 -08:00
2020-12-08 19:07:21 +00:00
2021-01-19 21:47:30 -08:00
2020-10-24 17:29:43 +02:00
2021-01-22 18:00:32 +00:00
2020-11-16 14:58:23 -08:00
2021-01-17 14:16:59 +01:00
2020-11-27 16:50:51 +00:00
2020-10-26 11:48:11 +01:00
2020-10-25 14:51:49 -07:00
2020-12-30 11:53:42 +01:00
2020-10-25 14:51:49 -07:00
2021-01-27 11:55:30 +01:00
2020-10-28 15:08:39 +01:00
2020-11-02 09:27:36 +01:00
2020-12-21 13:30:08 +01:00
2020-10-23 11:55:27 -04:00
2020-10-23 11:00:57 -07:00
2021-02-01 19:32:29 +00:00
2021-01-22 18:01:43 +00:00
2020-10-18 09:27:10 -07:00
2020-10-20 14:39:37 -07:00
2020-12-06 10:19:07 -08:00