kthread_run — create and wake a thread.
kthread_run ( | threadfn, |
| data, | |
| namefmt, | |
...); |
threadfnthe function to run until signal_pending(current).
data
data ptr for threadfn.
namefmtprintf-style name for the thread.
...variable arguments
Convenient wrapper for kthread_create followed by
wake_up_process. Returns the kthread or ERR_PTR(-ENOMEM).