public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ilias Stamatis <stamatis.iliass@gmail.com>
To: tglx@linutronix.de, pmladek@suse.com, peterz@infradead.org
Cc: linux-kernel@vger.kernel.org, Ilias Stamatis <stamatis.iliass@gmail.com>
Subject: [PATCH] kthread: remove incorrect comment in kthread_create_on_cpu()
Date: Thu, 11 Jun 2020 16:59:21 +0300	[thread overview]
Message-ID: <20200611135920.240551-1-stamatis.iliass@gmail.com> (raw)

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.iliass@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	other threads:[~2020-06-11 14:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-11 13:59 Ilias Stamatis [this message]
2020-06-12  9:29 ` [PATCH] kthread: remove incorrect comment in kthread_create_on_cpu() Petr Mladek
2020-07-07 11:27   ` Ilias Stamatis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200611135920.240551-1-stamatis.iliass@gmail.com \
    --to=stamatis.iliass@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=pmladek@suse.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox