* [PATCH] pid: Cleanup the stale comment mentioning pidmap_init().
@ 2021-07-14 12:07 Takahiro Itazuri
0 siblings, 0 replies; only message in thread
From: Takahiro Itazuri @ 2021-07-14 12:07 UTC (permalink / raw)
To: linux-kernel
Cc: Takahiro Itazuri, Takahiro Itazuri, Andrew Morton,
Kuniyuki Iwashima, trivial
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-14 12:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 12:07 [PATCH] pid: Cleanup the stale comment mentioning pidmap_init() Takahiro Itazuri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).