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

From: Roger Luethi
Date: Tue Sep 14 2004 - 05:59:30 EST


On Mon, 13 Sep 2004 19:31:14 -0700, William Lee Irwin III wrote:
> -#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.

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