summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTakahiro Itazuri <itazur@amazon.com>2021-09-07 20:00:38 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-08 11:50:28 -0700
commit5b91a75b3312c03798f555e10569fd85211a490c (patch)
tree2553e94e1a508d60a107837434b59a44849df398 /include
parent05da8113c9ba63a8913e6c73dc06ed01cae55f68 (diff)
downloadlinux-5b91a75b3312c03798f555e10569fd85211a490c.tar.bz2
pid: cleanup the stale comment mentioning pidmap_init().
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. Link: https://lkml.kernel.org/r/20210714120713.19825-1-itazur@amazon.com Signed-off-by: Takahiro Itazuri <itazur@amazon.com> Cc: Kuniyuki Iwashima <kuniyu@amazon.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/threads.h2
1 files changed, 1 insertions, 1 deletions
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