Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/cpuset.h
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | |||||
* Valid cpuwhich_t values. | * Valid cpuwhich_t values. | ||||
*/ | */ | ||||
#define CPU_WHICH_TID 1 /* Specifies a thread id. */ | #define CPU_WHICH_TID 1 /* Specifies a thread id. */ | ||||
#define CPU_WHICH_PID 2 /* Specifies a process id. */ | #define CPU_WHICH_PID 2 /* Specifies a process id. */ | ||||
#define CPU_WHICH_CPUSET 3 /* Specifies a set id. */ | #define CPU_WHICH_CPUSET 3 /* Specifies a set id. */ | ||||
#define CPU_WHICH_IRQ 4 /* Specifies an irq #. */ | #define CPU_WHICH_IRQ 4 /* Specifies an irq #. */ | ||||
#define CPU_WHICH_JAIL 5 /* Specifies a jail id. */ | #define CPU_WHICH_JAIL 5 /* Specifies a jail id. */ | ||||
#define CPU_WHICH_DOMAIN 6 /* Specifies a NUMA domain id. */ | #define CPU_WHICH_DOMAIN 6 /* Specifies a NUMA domain id. */ | ||||
#define CPU_WHICH_INTRHANDLER 7 /* Specifies an irq # (not ithread). */ | |||||
#define CPU_WHICH_ITHREAD 8 /* Specifies an irq's ithread. */ | |||||
/* | /* | ||||
* Reserved cpuset identifiers. | * Reserved cpuset identifiers. | ||||
*/ | */ | ||||
#define CPUSET_INVALID -1 | #define CPUSET_INVALID -1 | ||||
#define CPUSET_DEFAULT 0 | #define CPUSET_DEFAULT 0 | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |