Re: Where is NR_TASKS gone in 2.4?

Robert Schiele (rschiele@uni-mannheim.de)
Wed, 11 Apr 2001 22:22:50 +0200


--UlVJffcvxoiEqYs2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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?
>=20
> 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

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

--UlVJffcvxoiEqYs2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQEVAwUBOtS9GcQAnns5HcHpAQER1Af/fO3BYSI+jG3m4JCMvZhLte1gTjBqR4vq
SafLjnpdvFRVIZYb1usGGr7Bye1UgYeSVYt6KIMHaP5bFcejukQbW8wQIng4Op+K
MIEO16DD44nM91hFDvYMxj+CvmKzP+LdB2TD2VAtNqJYc/d4NPD20lF0JmlhIwHN
mUwIkgmoGgXZtk36vLUIGUe+3jRTk2HIsybi6cBO3qIIDbvAPlb+4x/2nL1ZF7Yp
ELg7JLyYmLq5TbqTHA45HKyBh5UHnq/RLQP/1Mv4ktW1vClTo5usAVhZIeGdo09Z
Txg0OW+QhNwqsmQafAWoNqdpsO2YaqRWskiK1iQRwwvKBIkc6oNw6Q==
=DBgg
-----END PGP SIGNATURE-----

--UlVJffcvxoiEqYs2--
-
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/