Where is NR_TASKS gone in 2.4?
How can i get the max. number of tasks in kernel 2.4?
In 2.2 there was a macro NR_TASKS
Daniel
Signature · 4 lines
-- In God we Trust, all others please submit signed PGP/X.509 key Daniel Stutz <[email protected]> | Product Development Astaro AG | http://www.astaro.de | +49-721-490069-0 | Fax -55
Quoted 3 lines · Daniel Stutz
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
Signature · 2 lines
Robert Schiele mailto:[email protected] Tel./Fax: +49-621-10059 http://webrum.uni-mannheim.de/math/rschiele/