Loading...
Searching...
No Matches
Go to the documentation of this file.
2#ifndef _LINUX_THREADS_H
3#define _LINUX_THREADS_H
17#define CONFIG_NR_CPUS 1
21#define NR_CPUS CONFIG_NR_CPUS
23#define MIN_THREADS_LEFT_FOR_ROOT 4
28#define PID_MAX_DEFAULT (IS_ENABLED(CONFIG_BASE_SMALL) ? 0x1000 : 0x8000)
34#define PID_MAX_LIMIT (IS_ENABLED(CONFIG_BASE_SMALL) ? PAGE_SIZE * 8 : \
35 (sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))
43#define PIDS_PER_CPU_DEFAULT 1024
44#define PIDS_PER_CPU_MIN 8