[ale] tasks.h
Benjamin Scherrey
scherrey at switchco.com
Sat Aug 14 01:33:07 EDT 1999
This determines the maximum potential number of processors that the
system can support at any given point in time. The kernel autodetects
the actual number of processors upon boot up as long as __SMP__ was
defined, otherwise its simply zero. You'll find that this value helps
establish the number of active contexts that are statically allocated
for the kernel for task switching purposes. This is evidently a newer
kernel because previous ones didn't go up to 32 as I recall. Note that
some system configuration values have other dependencies that must be
altered as well for the intended consequences to take place so be sure
you know what you intend to do before you go simply trying out new
values for these constants. If only C++ features were used to keep
this stuff more organized... <duck>!
regards,
Ben Scherrey
jj at spiderentertainment.com wrote:
>
> I was trying to lookup some documentation that would explain tasks.h,
> but I couldn't find any, perhaps I'm looking in the wrong area, what are
> some good sites/docs that go indepth of Linux ?
>
> I have this tasks.h and I wonder what does the NR_CPUS ? do is that for
> multiple proccessors ?
More information about the Ale
mailing list