Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 23 Oct 2001 19:35:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 23 Oct 2001 19:35:08 -0400 Received: from garrincha.netbank.com.br ([200.203.199.88]:12039 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Tue, 23 Oct 2001 19:34:56 -0400 Date: Tue, 23 Oct 2001 21:35:04 -0200 (BRST) From: Rik van Riel X-X-Sender: To: Dan Kegel Cc: "linux-kernel@vger.kernel.org" Subject: Re: Issue with max_threads (and other resources) and highmem In-Reply-To: <3BD5FD98.1AACC12D@kegel.com> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 Oct 2001, Dan Kegel wrote: > Rik wrote: > > ... A sane upper limit for > > max_threads would be 10000, this also keeps in mind the > > fact that we only have 32000 possible PIDs, some of which > > could be taken by task groups, etc... > > ? I thought the 2.4 kernel had switched to 32 bit pid's long ago. > Where does the limit of 32000 possible PIDs come from? Please take a look at kernel/fork.c::get_pid() ... Rik -- DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ (volunteers needed) http://www.surriel.com/ http://distro.conectiva.com/ - 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/