From: Takahiro Itazuri <itazur@amazon.com>
To: <linux-kernel@vger.kernel.org>
Cc: Takahiro Itazuri <itazur@amazon.com>,
Takahiro Itazuri <zulinx86@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>,
"Kuniyuki Iwashima" <kuniyu@amazon.co.jp>, <trivial@kernel.org>
Subject: [PATCH] pid: Cleanup the stale comment mentioning pidmap_init().
Date: Wed, 14 Jul 2021 21:07:13 +0900 [thread overview]
Message-ID: <20210714120713.19825-1-itazur@amazon.com> (raw)
pidmap_init() has already been replaced with pid_idr_init() in the
commit 95846ecf9dac ("pid: replace pid bitmap implementation with
IDR API").
Cleanup the stale comment which still mentions it.
Signed-off-by: Takahiro Itazuri <itazur@amazon.com>
---
include/linux/threads.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/threads.h b/include/linux/threads.h
index 18d5a74bcc3d..c34173e6c5f1 100644
--- a/include/linux/threads.h
+++ b/include/linux/threads.h
@@ -38,7 +38,7 @@
* Define a minimum number of pids per cpu. Heuristically based
* on original pid max of 32k for 32 cpus. Also, increase the
* minimum settable value for pid_max on the running system based
- * on similar defaults. See kernel/pid.c:pidmap_init() for details.
+ * on similar defaults. See kernel/pid.c:pid_idr_init() for details.
*/
#define PIDS_PER_CPU_DEFAULT 1024
#define PIDS_PER_CPU_MIN 8
--
2.31.1
reply other threads:[~2021-07-14 12:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210714120713.19825-1-itazur@amazon.com \
--to=itazur@amazon.com \
--cc=akpm@linux-foundation.org \
--cc=kuniyu@amazon.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
--cc=zulinx86@gmail.com \
/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
all inboxes | Powered by JetHome®