Skip to contentSkip to conversation

pid: Cleanup the stale comment mentioning pidmap_init().

PATCH Applied Takahiro Itazuri 1 participant 1 message Jul 14, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/linux/threads.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/threads.h +1 -1
index 18d5a74bcc3d..c34173e6c5f1 100644
@@ -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
Signature · 1 line
2.31.1