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

Lars Marowsky-Bree
2004-09-14T12:08:08Z

On 2004-09-14T13:10:24,
Lars Marowsky-Bree <lmb@suse.de> 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...

yesyes. I can't tell the difference between bytes and bits either.
Forget it ;-)