Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/proc.h
Show First 20 Lines • Show All 551 Lines • ▼ Show 20 Lines | |||||
#define TDP_KTHREAD 0x00200000 /* This is an official kernel thread */ | #define TDP_KTHREAD 0x00200000 /* This is an official kernel thread */ | ||||
#define TDP_CALLCHAIN 0x00400000 /* Capture thread's callchain */ | #define TDP_CALLCHAIN 0x00400000 /* Capture thread's callchain */ | ||||
#define TDP_IGNSUSP 0x00800000 /* Permission to ignore the MNTK_SUSPEND* */ | #define TDP_IGNSUSP 0x00800000 /* Permission to ignore the MNTK_SUSPEND* */ | ||||
#define TDP_AUDITREC 0x01000000 /* Audit record pending on thread */ | #define TDP_AUDITREC 0x01000000 /* Audit record pending on thread */ | ||||
#define TDP_RFPPWAIT 0x02000000 /* Handle RFPPWAIT on syscall exit */ | #define TDP_RFPPWAIT 0x02000000 /* Handle RFPPWAIT on syscall exit */ | ||||
#define TDP_RESETSPUR 0x04000000 /* Reset spurious page fault history. */ | #define TDP_RESETSPUR 0x04000000 /* Reset spurious page fault history. */ | ||||
#define TDP_NERRNO 0x08000000 /* Last errno is already in td_errno */ | #define TDP_NERRNO 0x08000000 /* Last errno is already in td_errno */ | ||||
#define TDP_UIOHELD 0x10000000 /* Current uio has pages held in td_ma */ | #define TDP_UIOHELD 0x10000000 /* Current uio has pages held in td_ma */ | ||||
#define TDP_UNUSED0 0x20000000 /* UNUSED */ | #define TDP_INTCPCALLOUT 0x20000000 /* used by netinet/tcp_timer.c */ | ||||
kib: I believe that e.g. TDP_INTCPCALLOUT (or similar) would be a better name for the flag.
Also… | |||||
#define TDP_EXECVMSPC 0x40000000 /* Execve destroyed old vmspace */ | #define TDP_EXECVMSPC 0x40000000 /* Execve destroyed old vmspace */ | ||||
#define TDP_SIGFASTPENDING 0x80000000 /* Pending signal due to sigfastblock */ | #define TDP_SIGFASTPENDING 0x80000000 /* Pending signal due to sigfastblock */ | ||||
#define TDP2_SBPAGES 0x00000001 /* Owns sbusy on some pages */ | #define TDP2_SBPAGES 0x00000001 /* Owns sbusy on some pages */ | ||||
#define TDP2_COMPAT32RB 0x00000002 /* compat32 ABI for robust lists */ | #define TDP2_COMPAT32RB 0x00000002 /* compat32 ABI for robust lists */ | ||||
#define TDP2_ACCT 0x00000004 /* Doing accounting */ | #define TDP2_ACCT 0x00000004 /* Doing accounting */ | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 794 Lines • Show Last 20 Lines |
I believe that e.g. TDP_INTCPCALLOUT (or similar) would be a better name for the flag.
Also, for comment in this style, please use netinet/tcp_timer.c.