XenevaOS
Loading...
Searching...
No Matches
Macros
threads.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONFIG_NR_CPUS   1
 
#define NR_CPUS   CONFIG_NR_CPUS
 
#define MIN_THREADS_LEFT_FOR_ROOT   4
 
#define PID_MAX_DEFAULT   (IS_ENABLED(CONFIG_BASE_SMALL) ? 0x1000 : 0x8000)
 
#define PID_MAX_LIMIT
 
#define PIDS_PER_CPU_DEFAULT   1024
 
#define PIDS_PER_CPU_MIN   8
 

Macro Definition Documentation

◆ CONFIG_NR_CPUS

#define CONFIG_NR_CPUS   1

◆ MIN_THREADS_LEFT_FOR_ROOT

#define MIN_THREADS_LEFT_FOR_ROOT   4

◆ NR_CPUS

#define NR_CPUS   CONFIG_NR_CPUS

◆ PID_MAX_DEFAULT

#define PID_MAX_DEFAULT   (IS_ENABLED(CONFIG_BASE_SMALL) ? 0x1000 : 0x8000)

◆ PID_MAX_LIMIT

#define PID_MAX_LIMIT
Value:
(IS_ENABLED(CONFIG_BASE_SMALL) ? PAGE_SIZE * 8 : \
(sizeof(long) > 4 ? 4 * 1024 * 1024 : PID_MAX_DEFAULT))
#define PAGE_SIZE
Definition vmmngr.h:92
#define IS_ENABLED(option)
Definition kconfig.h:80
#define PID_MAX_DEFAULT
Definition threads.h:28

◆ PIDS_PER_CPU_DEFAULT

#define PIDS_PER_CPU_DEFAULT   1024

◆ PIDS_PER_CPU_MIN

#define PIDS_PER_CPU_MIN   8