[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: #define NR_TASKS ??

On Wed, May 23, 2001 at 04:30:43PM +0530, Viral wrote:
> mproc (mps and mtop for the mosix multicomputer) uses NR_TASKS.
> However I couldn't find it in the include files for the 2.4.4 kernel.
> It looks in linux/tasks.h for 
> #define NR_TASKS
> For the time being I defined it to be 1024 (hoping thats large and safe) but
> whats the deal with NR_TASKS in 2.4.4 ? 
> Or its the case that I have corrupted kernel sources. ;-)

NR_TASKS was removed in the 2.3 series. In 2.4 there's no longer a static
limit. The number of tasks is only limited by available memory nowadays.
Looks like mosix isn't ready for 2.4 yet.



Reply to: