Originally kthread_create_on_cpu() parked and woke up the new thread.
However, since commit a65d40961dc7 ("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.

Signed-off-by: Ilias Stamatis <stamatis.ili...@gmail.com>
---
 kernel/kthread.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/kthread.c b/kernel/kthread.c
index bfbfa481be3a..38fa07ae59f6 100644
--- a/kernel/kthread.c
+++ b/kernel/kthread.c
@@ -455,7 +455,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,
-- 
2.27.0

Reply via email to