netlib.narod.ru< Назад | Оглавление | Далее >

include/linux/tasks.h

18307 #ifndef _LINUX_TASKS_H
18308 #define _LINUX_TASKS_H
18309 
18310 /* This is the maximum nr of tasks - change it if you
18311  * need to */
18312 #ifdef __SMP__
18313 /* Max processors that can be running in SMP */
18314 #define NR_CPUS 32
18315 #else
18316 #define NR_CPUS 1
18317 #endif
18318 
18319 /* On x86 Max 4092, or 4090 w/APM configured. */
18320 #define NR_TASKS        512
18321 
18322 #define MAX_TASKS_PER_USER (NR_TASKS/2)
18323 #define MIN_TASKS_LEFT_FOR_ROOT 4
18324 
18325 
18326 /* This controls the max pid allocated to a process */
18327 #define PID_MAX 0x8000
18328 
18329 #endif

netlib.narod.ru< Назад | Оглавление | Далее >

Сайт управляется системой uCoz