[PATCH 18/19] treewide: Introduce kthread_run_worker[_on_cpu]()

2024-12-11 Thread Frederic Weisbecker
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

[PATCH 18/19] treewide: Introduce kthread_run_worker[_on_cpu]()

2024-09-16 Thread Frederic Weisbecker
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