Sophie

Sophie

distrib > PLD > ra > i686 > by-pkgid > 03ad0cc020cc4effac6aea82603ce639 > files > 1549

kernel-headers-2.2.22-6.i686.rpm

#ifndef _LINUX_TASKS_H
#define _LINUX_TASKS_H

/*
 * This is the maximum nr of tasks - change it if you need to
 */
 
#ifdef __SMP__
#define NR_CPUS	32		/* Max processors that can be running in SMP */
#else
#define NR_CPUS 1
#endif

#define NR_TASKS	4080	/* On x86 Max about 4000 */

#define MAX_TASKS_PER_USER 256
#define MIN_TASKS_LEFT_FOR_ROOT 64


/*
 * This controls the maximum pid allocated to a process
 */
#define PID_MAX 0x8000

#endif