linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Schiele <rschiele@uni-mannheim.de>
To: Daniel.Stutz@astaro.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: Where is NR_TASKS gone in 2.4?
Date: Wed, 11 Apr 2001 22:22:50 +0200	[thread overview]
Message-ID: <20010411222250.A10215@schiele.local> (raw)
In-Reply-To: <20010409172419.H430@mukmin.astaro.de>
In-Reply-To: <20010409172419.H430@mukmin.astaro.de>; from dstutz@astaro.de on Mon, Apr 09, 2001 at 05:24:19PM -0700

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

On Mon, Apr 09, 2001 at 05:24:19PM -0700, Daniel Stutz wrote:
> How can i get the max. number of tasks in kernel 2.4?
> 
> In 2.2 there was a macro NR_TASKS

2.4 has no hardcoded limit on the number of processes. So NR_TASKS is
not necessary any longer.
But you can read the current value of max threads from
/proc/sys/kernel/threads-max.

Robert

-- 
Robert Schiele			mailto:rschiele@uni-mannheim.de
Tel./Fax: +49-621-10059		http://webrum.uni-mannheim.de/math/rschiele/

[-- Attachment #2: Type: application/pgp-signature, Size: 524 bytes --]

      reply	other threads:[~2001-04-11 20:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-10  0:24 Where is NR_TASKS gone in 2.4? Daniel Stutz
2001-04-11 20:22 ` Robert Schiele [this message]

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=20010411222250.A10215@schiele.local \
    --to=rschiele@uni-mannheim.de \
    --cc=Daniel.Stutz@astaro.de \
    --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;
as well as URLs for NNTP newsgroup(s).