public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Arnaud S . Launay" <asl@launay.org>
To: Andries Brouwer <aeb@veritas.com>
Cc: aprasad@in.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: processes> 2^15
Date: Tue, 7 Nov 2000 08:59:11 +0100	[thread overview]
Message-ID: <20001107085911.A2546@profile4u.com> (raw)
In-Reply-To: <CA25698D.00608C13.00@d73mta05.au.ibm.com> <20001104210158.A13496@veritas.com>
In-Reply-To: <20001104210158.A13496@veritas.com>; from aeb@veritas.com on Sat, Nov 04, 2000 at 09:01:58PM +0100

Le Sat, Nov 04, 2000 at 09:01:58PM +0100, Andries Brouwer a écrit:
> > after reaching process count something around 30568, processes start
> > getting pid from start, which ever is the first free entry slot in process
> > table. that means we can't have simultaneously more than roughly 2^15
> > processes?
> > am i correct?
> 
> Yes.
> (If that displeases you I can give you the trivial patch.
> However, you really need some awesome machine before it
> becomes reasonable to run that many processes.)

In the fact, the first limit to be reached will be NR_TASKS defined in
linux/tasks.h:
#define NR_TASKS        512     /* On x86 Max 4092, or 4090 w/APM configured. */

So I wonder if we could really have more than 4092 process under x86 ?

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

  reply	other threads:[~2000-11-07  7:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-04 13:57 processes> 2^15 aprasad
2000-11-04 18:18 ` Alan Cox
2000-11-04 20:01 ` Andries Brouwer
2000-11-07  7:59   ` Arnaud S . Launay [this message]
2000-11-07  8:14     ` Matti Aarnio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001107085911.A2546@profile4u.com \
    --to=asl@launay.org \
    --cc=aeb@veritas.com \
    --cc=aprasad@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox