Subject: Re: PID_MAX and NO_PID
To: matthew green <mrg@eterna.com.au>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 12/18/2002 09:27:44
matthew green wrote:
> i think we could safely raise PID_MAX to 99999.  but beyond
> this and suddenly you've got pids > 5 numbers for the first
> time and i don't know what will break.  i've heard of a few
> horror stories from IRIX (they have huge pids).

There is another issue that some of compat/* have 16bit
PIDs. So we could safely raise PID_MAX to little bit less
than SHRT_MAX-1, i.e. 32766. After that, care has to be
taken.

Jaromir 
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.org/
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-