> 
 > > _SC_NPROCESSORS_MAX is the maximum (aka max_ncpus in the kernel).
 > 
 > Ok... but isn't this just the theoretical limit supported by the kernel
 > ?

It's a per-platform maximum -- e.g. 256 for sun4v, 64 for E10K's, 32 for
other sun4u hardware, and so forth.  This maximum may change in a patch.

 > Or is this value calculated from the physically available CPUs ?

Given that one may DR in or our cards with CPUs on them at any time,
the notion of "available CPUs" has no connection with the notion of
"maximum CPUs".

--
meem

Reply via email to