The maximum is determined by the GDT, which can only hold 8192 descriptors,
and you need 1 descriptors per task. The first is the CPU null descriptor,
and the next 7 are reserved by the kernel. If APM is enabled, that takes
the last 3 descriptors. So the maximum for NR_TASKS is 4092/4090 with/without
APM.
-- Andrew E. Mileski mailto:aem@netcom.ca Linux Plug-and-Play Hardware Support http://www.redhat.com/linux-info/pnp/ XFree86 Matrox Team http://www.bf.rmit.edu.au/~ajv/xf86-matrox.html