Frederic Weisbecker
b04e317b52
treewide: Introduce kthread_run_worker[_on_cpu]()
...
kthread_create() creates a kthread without running it yet. kthread_run()
creates a kthread and runs it.
On the other hand, kthread_create_worker() creates a kthread worker and
runs it.
This difference in behaviours is confusing. Also there is no way to
create a kthread worker and affine it using kthread_bind_mask() or
kthread_affine_preferred() before starting it.
Consolidate the behaviours and introduce kthread_run_worker[_on_cpu]()
that behaves just like kthread_run(). kthread_create_worker[_on_cpu]()
will now only create a kthread worker without starting it.
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
2025-01-08 18:15:03 +01:00
..
2024-11-10 11:50:54 +08:00
2023-03-24 18:22:28 +08:00
2019-05-30 11:26:37 -07:00
2024-04-02 10:49:38 +08:00
2024-12-02 11:34:44 -08:00
2024-04-26 17:26:09 +08:00
2024-09-13 18:26:52 +08:00
2023-05-24 18:12:33 +08:00
2023-05-24 18:12:33 +08:00
2023-05-24 18:12:33 +08:00
2021-03-19 21:59:45 +11:00
2024-10-02 17:23:23 -04:00
2022-12-02 18:12:40 +08:00
2024-05-31 17:34:56 +08:00
2024-04-02 10:49:38 +08:00
2024-10-05 13:22:04 +08:00
2024-11-19 10:28:41 -08:00
2024-09-06 14:50:46 +08:00
2023-06-24 15:50:13 -07:00
2024-05-31 17:34:56 +08:00
2023-06-24 15:50:13 -07:00
2024-05-31 17:34:56 +08:00
2024-12-02 11:34:44 -08:00
2022-12-02 18:12:40 +08:00
2024-09-06 14:50:46 +08:00
2023-12-08 11:59:46 +08:00
2023-01-06 17:15:47 +08:00
2023-10-27 18:04:29 +08:00
2023-10-27 18:04:29 +08:00
2024-10-02 17:23:23 -04:00
2022-12-02 18:12:40 +08:00
2024-10-02 17:23:23 -04:00
2024-04-24 16:01:10 -07:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-05-31 17:34:56 +08:00
2024-02-02 18:08:12 +08:00
2024-12-02 11:34:44 -08:00
2024-08-17 13:55:49 +08:00
2024-10-02 17:23:23 -04:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2019-12-11 16:37:01 +08:00
2024-04-02 10:49:38 +08:00
2024-11-19 10:28:41 -08:00
2024-11-19 10:28:41 -08:00
2024-10-02 17:23:23 -04:00
2013-09-12 15:31:34 +10:00
2020-08-21 14:45:25 +10:00
2023-10-13 18:27:26 +08:00
2025-01-08 18:15:03 +01:00
2019-07-08 20:57:08 -07:00
2024-04-02 10:49:38 +08:00
2024-12-02 11:34:44 -08:00
2023-10-13 18:27:27 +08:00
2024-05-31 17:34:56 +08:00
2024-06-28 11:35:47 +10:00
2022-12-02 18:12:40 +08:00
2022-03-03 10:47:50 +12:00
2024-08-17 13:55:50 +08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-04-12 15:07:52 +08:00
2024-10-02 17:23:23 -04:00
2021-03-13 00:04:03 +11:00
2024-04-26 17:26:09 +08:00
2024-10-05 13:22:05 +08:00
2024-10-05 13:22:04 +08:00
2024-10-05 13:22:05 +08:00
2021-03-26 19:41:58 +11:00
2020-07-16 21:49:07 +10:00
2024-04-12 15:07:52 +08:00
2019-04-18 22:15:02 +08:00
2019-04-18 22:15:02 +08:00
2024-10-05 13:22:05 +08:00
2024-12-02 11:34:44 -08:00
2022-12-02 18:12:40 +08:00
2024-04-05 15:46:33 +08:00
2023-10-27 18:04:29 +08:00
2020-07-16 21:49:08 +10:00
2020-01-09 11:30:53 +08:00
2023-10-27 18:04:30 +08:00
2024-04-02 10:49:38 +08:00
2024-12-02 11:34:44 -08:00
2023-10-27 18:04:24 +08:00
2024-10-05 13:22:04 +08:00
2024-04-05 15:46:33 +08:00
2024-10-19 08:44:30 +08:00
2024-08-30 18:22:30 +08:00
2024-10-19 08:44:30 +08:00
2024-10-28 18:32:28 +08:00
2022-11-25 17:39:18 +08:00
2024-12-02 11:34:44 -08:00
2022-12-02 18:12:40 +08:00
2024-04-02 10:49:38 +08:00
2023-10-13 18:27:27 +08:00
2024-04-02 10:49:38 +08:00
2019-07-08 20:57:08 -07:00
2019-07-08 20:57:08 -07:00
2019-07-08 20:57:08 -07:00
2019-07-08 20:57:08 -07:00
2024-10-28 18:33:10 +08:00
2019-06-13 14:31:39 +08:00
2020-02-28 08:43:21 +08:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-12-02 11:34:44 -08:00
2024-10-28 18:32:36 +08:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2023-02-14 13:39:33 +08:00
2021-01-29 16:07:04 +11:00
2019-07-08 20:57:08 -07:00
2024-04-02 10:49:38 +08:00
2019-05-30 11:26:32 -07:00
2024-10-05 13:22:04 +08:00
2024-10-05 13:22:04 +08:00
2023-10-27 18:04:28 +08:00
2023-10-27 18:04:28 +08:00
2024-11-10 11:50:54 +08:00
2019-05-30 11:26:32 -07:00
2024-04-02 10:49:38 +08:00
2022-12-02 18:12:40 +08:00
2023-02-13 18:35:14 +08:00
2024-10-02 17:23:23 -04:00
2020-11-20 14:45:33 +11:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-04-02 10:49:38 +08:00
2024-10-26 14:41:59 +08:00
2024-08-24 21:39:15 +08:00
2024-12-02 11:34:44 -08:00
2024-04-02 10:49:38 +08:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2019-08-15 21:52:14 +10:00
2024-06-28 11:35:46 +10:00
2023-01-20 18:29:31 +08:00
2022-12-02 18:12:40 +08:00
2024-12-02 11:34:44 -08:00
2024-11-10 11:50:54 +08:00
2022-12-02 18:12:40 +08:00
2024-10-02 17:23:23 -04:00
2024-12-02 11:34:44 -08:00
2022-12-30 22:56:27 +08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-08-02 20:53:25 +08:00
2024-12-02 11:34:44 -08:00
2024-10-02 17:23:23 -04:00
2021-11-08 16:55:21 -08:00