Open hom opened 3 years ago
在 Linux 4.14-rc3 之后的源代码中,关于 进程状态的描述添加了 P (parked) 和 I (idle) 的状态
P (parked)
I (idle)
static const char * const task_state_array[] = { /* states in TASK_REPORT: */ "R (running)", /* 0x00 */ "S (sleeping)", /* 0x01 */ "D (disk sleep)", /* 0x02 */ "T (stopped)", /* 0x04 */ "t (tracing stop)", /* 0x08 */ "X (dead)", /* 0x10 */ "Z (zombie)", /* 0x20 */ "P (parked)", /* 0x40 */ /* states beyond TASK_REPORT: */ "I (idle)", /* 0x80 */ };
在 Linux 4.14-rc3 之后的源代码中,关于 进程状态的描述添加了
P (parked)
和I (idle)
的状态