[ale] tasks.h

jj at spiderentertainment.com jj at spiderentertainment.com
Fri Aug 13 10:34:32 EDT 1999


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 ?

#ifndef _LINUX_TASKS_H
#define _LINUX_TASKS_H

#ifdef __SMP__
#define NR_CPUS 32              /* Max processors that can be running in
SMP */
#else
#define NR_CPUS 1
#endif

#define NR_TASKS        512

#define MAX_TASKS_PER_USER (NR_TASKS/2)
#define MIN_TASKS_LEFT_FOR_ROOT 4

Thank you






More information about the Ale mailing list