From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECA48C433E1 for ; Fri, 7 Aug 2020 06:17:22 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B49F42177B for ; Fri, 7 Aug 2020 06:17:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="CFFCKCYH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B49F42177B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 55A9D8D0006; Fri, 7 Aug 2020 02:17:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 50C3D8D0002; Fri, 7 Aug 2020 02:17:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3D4418D0006; Fri, 7 Aug 2020 02:17:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0217.hostedemail.com [216.40.44.217]) by kanga.kvack.org (Postfix) with ESMTP id 225D28D0002 for ; Fri, 7 Aug 2020 02:17:22 -0400 (EDT) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id CBF3A3627 for ; Fri, 7 Aug 2020 06:17:21 +0000 (UTC) X-FDA: 77122765482.04.sleet94_600a1b926fbe Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin04.hostedemail.com (Postfix) with ESMTP id A13EA800ABAA for ; Fri, 7 Aug 2020 06:17:21 +0000 (UTC) X-HE-Tag: sleet94_600a1b926fbe X-Filterd-Recvd-Size: 2630 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf03.hostedemail.com (Postfix) with ESMTP for ; Fri, 7 Aug 2020 06:17:21 +0000 (UTC) Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5EFAF22C9F; Fri, 7 Aug 2020 06:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596781040; bh=2BFBHw3XZvwXwNRkBzrcop/NSxWNyJBMp5dQKM4eftE=; h=Date:From:To:Subject:In-Reply-To:From; b=CFFCKCYHzzen0Wiyu6XcPm1JKb8s8bZblQCcMcfnGTtnXuwNSidvQCgaW8MeM3HQ7 f0cWwr4p0anyuGM9mvO+D3+p73nQxIm16Twv2OJygn/U35ndQBwtc8053nyxwX28By O5szumLg89lGiwTE3JPEPvhLiOqR7wSTCK2al11k= Date: Thu, 06 Aug 2020 23:17:19 -0700 From: Andrew Morton To: akpm@linux-foundation.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, pmladek@suse.com, stamatis.iliass@gmail.com, torvalds@linux-foundation.org Subject: [patch 005/163] kthread: remove incorrect comment in kthread_create_on_cpu() Message-ID: <20200807061719.Bc1q_uR0m%akpm@linux-foundation.org> In-Reply-To: <20200806231643.a2711a608dd0f18bff2caf2b@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Queue-Id: A13EA800ABAA X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Ilias Stamatis Subject: kthread: remove incorrect comment in kthread_create_on_cpu() 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. Link: http://lkml.kernel.org/r/20200611135920.240551-1-stamatis.iliass@gmail.com Fixes: a65d40961dc7 ("kthread/smpboot: do not park in kthread_create_on_cpu()") Signed-off-by: Ilias Stamatis Reviewed-by: Petr Mladek Signed-off-by: Andrew Morton --- kernel/kthread.c | 1 - 1 file changed, 1 deletion(-) --- a/kernel/kthread.c~kthread-remove-incorrect-comment-in-kthread_create_on_cpu +++ a/kernel/kthread.c @@ -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, _