linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Where is NR_TASKS gone in 2.4?
@ 2001-04-10  0:24 Daniel Stutz
  2001-04-11 20:22 ` Robert Schiele
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Stutz @ 2001-04-10  0:24 UTC (permalink / raw)
  To: linux-kernel

How can i get the max. number of tasks in kernel 2.4?

In 2.2 there was a macro NR_TASKS

Daniel

-- 
--
In God we Trust, all others please submit signed PGP/X.509 key
Daniel Stutz <Daniel.Stutz@astaro.de>    | Product Development
Astaro AG | http://www.astaro.de  | +49-721-490069-0 | Fax -55

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Where is NR_TASKS gone in 2.4?
  2001-04-10  0:24 Where is NR_TASKS gone in 2.4? Daniel Stutz
@ 2001-04-11 20:22 ` Robert Schiele
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schiele @ 2001-04-11 20:22 UTC (permalink / raw)
  To: Daniel.Stutz; +Cc: linux-kernel

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-11 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-10  0:24 Where is NR_TASKS gone in 2.4? Daniel Stutz
2001-04-11 20:22 ` Robert Schiele

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).