Frederic Weisbecker
0936fadc01
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>
2024-12-17 11:02:42 +01:00
..
2024-11-12 21:42:29 +01:00
2022-11-30 19:50:04 +01:00
2021-12-30 18:51:39 +01:00
2022-03-09 19:53:01 +01:00
2024-10-28 14:54:36 -05:00
2024-11-19 12:27:19 -08:00
2024-09-11 10:23:23 -05:00
2024-09-04 20:43:59 +05:30
2024-08-07 12:11:46 +05:30
2023-07-20 16:01:57 +05:30
2024-07-09 08:45:30 +05:30
2024-11-19 21:35:14 +01:00
2024-12-17 11:02:42 +01:00
2023-10-06 21:55:13 +02:00
2022-02-04 19:22:34 +01:00
2023-08-29 20:21:35 +02:00
2022-04-13 15:22:41 +02:00
2024-02-24 15:02:33 +01:00
2019-06-19 17:09:55 +02:00
2020-11-10 18:31:17 +01:00
2020-11-10 18:31:17 +01:00
2023-10-24 22:02:06 +02:00
2023-10-06 22:01:26 +02:00
2024-11-11 11:24:42 +05:30
2024-10-28 12:24:39 +01:00
2020-03-12 15:43:52 +05:30
2024-07-05 11:41:30 +05:30
2024-10-28 12:24:29 +01:00
2024-10-28 12:24:39 +01:00
2024-07-09 08:45:30 +05:30
2020-03-24 21:31:27 +01:00
2024-04-30 12:55:01 +02:00
2020-01-27 10:33:33 +01:00
2022-09-26 11:15:04 +05:30
2024-10-28 12:24:39 +01:00
2024-10-28 12:24:39 +01:00
2024-11-14 12:23:32 +01:00
2024-10-29 12:05:14 +05:30
2024-09-04 20:43:58 +05:30
2024-11-13 12:02:23 +11:00
2024-06-24 13:17:56 -05:00
2024-10-28 12:24:39 +01:00
2024-05-28 12:20:13 +05:30
2019-05-30 11:26:39 -07:00
2020-03-24 21:31:27 +01:00
2024-10-16 15:20:21 +05:30
2024-11-19 21:35:14 +01:00
2024-11-23 10:44:31 -08:00
2024-11-19 21:35:14 +01:00
2024-09-04 20:43:59 +05:30
2022-06-10 14:51:35 +02:00
2024-10-28 12:24:39 +01:00
2020-08-23 17:36:59 -05:00
2024-08-02 14:45:20 +02:00
2024-10-28 12:24:39 +01:00
2024-05-08 00:25:00 +10:00
2024-09-06 20:50:46 +02:00
2024-07-09 08:45:30 +05:30
2024-07-09 08:45:30 +05:30
2019-05-30 11:26:39 -07:00
2024-07-09 08:45:30 +05:30
2019-06-05 17:37:08 +02:00
2024-09-06 20:50:46 +02:00
2019-05-30 11:26:32 -07:00
2023-07-20 16:01:57 +05:30
2024-08-02 14:45:20 +02:00
2019-08-26 10:02:01 +02:00
2022-05-07 22:55:49 +02:00
2022-05-07 22:55:49 +02:00
2024-10-28 12:24:39 +01:00
2024-11-20 12:44:59 -08:00
2024-10-28 12:24:39 +01:00
2024-10-28 12:24:39 +01:00
2019-10-23 08:53:23 +05:30
2021-10-05 16:33:05 +02:00
2023-01-12 10:53:12 +01:00
2021-05-21 18:52:13 +02:00
2024-11-11 09:18:25 +05:30
2024-10-28 12:24:39 +01:00
2024-07-09 08:45:30 +05:30
2024-07-09 08:45:30 +05:30
2024-07-09 08:45:30 +05:30
2024-08-07 12:11:45 +05:30
2024-07-09 17:58:20 +02:00
2020-03-24 21:31:27 +01:00
2020-10-28 18:04:07 +01:00
2019-05-30 11:26:39 -07:00
2020-03-24 21:31:27 +01:00
2024-08-07 12:11:45 +05:30
2024-11-19 21:35:14 +01:00
2023-04-27 10:09:05 -07:00
2024-04-19 11:55:44 +05:30
2024-10-28 12:24:39 +01:00
2024-10-28 12:24:39 +01:00
2024-10-10 12:54:42 +05:30
2024-10-28 12:24:39 +01:00
2024-10-29 12:05:14 +05:30