Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269351AbUINMII (ORCPT ); Tue, 14 Sep 2004 08:08:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269327AbUINMIG (ORCPT ); Tue, 14 Sep 2004 08:08:06 -0400 Received: from gate.in-addr.de ([212.8.193.158]:25009 "EHLO mx.in-addr.de") by vger.kernel.org with ESMTP id S269351AbUINMGS (ORCPT ); Tue, 14 Sep 2004 08:06:18 -0400 Date: Tue, 14 Sep 2004 14:06:07 +0200 From: Lars Marowsky-Bree To: linux-kernel@vger.kernel.org Subject: Re: [pidhashing] [2/3] lower PID_MAX_LIMIT for 32-bit machines Message-ID: <20040914120607.GT4882@marowsky-bree.de> References: <20040913015003.5406abae.akpm@osdl.org> <20040914022530.GO9106@holomorphy.com> <20040914022827.GP9106@holomorphy.com> <20040914023114.GQ9106@holomorphy.com> <20040914105527.GB11238@k3.hellgate.ch> <20040914111024.GN4882@marowsky-bree.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040914111024.GN4882@marowsky-bree.de> X-Ctuhulu: HASTUR User-Agent: Mutt/1.5.6i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 609 Lines: 17 On 2004-09-14T13:10:24, Lars Marowsky-Bree 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/