Messages in this thread | | | From | Linus Torvalds <> | Date | Sun, 26 Jun 2022 13:55:30 -0700 | Subject | Re: [PATCH 3/3] kthread: Stop abusing TASK_UNINTERRUPTIBLE (INCOMPLETE) |
| |
On Sun, Jun 26, 2022 at 1:23 PM Tejun Heo <tj@kernel.org> wrote: > > Would it be a reasonable tradeoff to have a kthread wrapper - > kthread_start() or whatever - which ensures that it is actually called > once on a new task? That way, we can keep the init code inline and > bugs on both sides (not starting and starting incorrectly) are > obvious.
Yeah, that sounds reasonable to me.
Linus
| |