Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kthread: Add the helper function kthread_run_on_cpu()
the helper function kthread_run_on_cpu() includes kthread_create_on_cpu/wake_up_process(). In some cases, use kthread_run_on_cpu() directly instead of kthread_create_on_node/kthread_bind/wake_up_process() or kthread_create_on_cpu/wake_up_process() or kthreadd_create/kthread_bind/wake_up_process() to simplify the code. Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
- Loading branch information