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

From: Lars Marowsky-Bree
Date: Tue Sep 14 2004 - 07:12:50 EST


On 2004-09-14T13:10:24,
Lars Marowsky-Bree <lmb@xxxxxxx> 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 ;-)


-
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/