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

Roger Luethi
2004-09-14T12:12:49Z

On Tue, 14 Sep 2004 13:10:24 +0200, Lars Marowsky-Bree wrote:
> 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...

Really.