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

From: Lars Marowsky-Bree
Date: Tue Sep 14 2004 - 06:23:23 EST


On 2004-09-14T12:55:27,
Roger Luethi <rl@xxxxxxxxxxx> 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...


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/