How does Linux determine the next PID it will use for a process? The purpose of this question is to better understand the Linux kernel. Don\'t be afraid to post kernel sou
PIDs can be allocated randomly. There's a number of ways to accomplish that.