Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines

Lars Marowsky-Bree
2004-09-14T11:15:22Z

On 2004-09-14T12:55:27,
Roger Luethi <rl@hellgate.ch> said:

> > -#define PID_MAX_LIMIT (4*1024*1024)
> > +#define PID_MAX_LIMIT (sizeof(long) > 32 ? 4*1024*1024 : PID_MAX_DEFAULT)
> An architecture with sizeof(long) > 32? -- Most impressive.

x86_64, s390x, ppc64...