Skip to content
Snippets Groups Projects
Commit 4ca1085c authored by Ilias Stamatis's avatar Ilias Stamatis Committed by Linus Torvalds
Browse files

kthread: remove incorrect comment in kthread_create_on_cpu()


Originally kthread_create_on_cpu() parked and woke up the new thread.
However, since commit a65d4096 ("kthread/smpboot: do not park in
kthread_create_on_cpu()") this is no longer the case.  This patch removes
the comment that has been left behind and is now incorrect / stale.

Fixes: a65d4096 ("kthread/smpboot: do not park in kthread_create_on_cpu()")
Signed-off-by: default avatarIlias Stamatis <stamatis.iliass@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarPetr Mladek <pmladek@suse.com>
Link: http://lkml.kernel.org/r/20200611135920.240551-1-stamatis.iliass@gmail.com


Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 38cf307c
No related branches found
No related tags found
No related merge requests found
......@@ -480,7 +480,6 @@ EXPORT_SYMBOL(kthread_bind);
* to "name.*%u". Code fills in cpu number.
*
* Description: This helper function creates and names a kernel thread
* The thread will be woken and put into park mode.
*/
struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data),
void *data, unsigned int cpu,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment