[PATCH 11/19] kthread: Make sure kthread hasn't started while binding it

2024-12-11 Thread Frederic Weisbecker
Make sure the kthread is sleeping in the schedule_preempt_disabled() call before calling its handler when kthread_bind[_mask]() is called on it. This provides a sanity check verifying that the task is not randomly blocked later at some point within its function handler, in which case it could be ju

[PATCH 11/19] kthread: Make sure kthread hasn't started while binding it

2024-09-16 Thread Frederic Weisbecker
Make sure the kthread is sleeping in the schedule_preempt_disabled() call before calling its handler when kthread_bind[_mask]() is called on it. This provides a sanity check verifying that the task is not randomly blocked later at some point within its function handler, in which case it could be ju