Why not fix process ids?
Why not fix process ids?
Posted Sep 2, 2023 16:04 UTC (Sat) by pebolle (guest, #35204)In reply to: Why not fix process ids? by corbet
Parent article: Race-free process creation in the GNU C Library
Which has a hardcoded maximum of ~4,000,000 on 64 bits systems.
I could be misreading include/linux/threads.h, but since systemd on my (Fedora) system sets pid_max to that value out of the box I don't think I actually am.