Skip to content

Commit 464763c

Browse files
Peter ZijlstraIngo Molnar
authored andcommitted
sched: Update task_state_arraypwith new states
Neglected because its hidden... (who reads comments anyway) Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20091217121829.970166036@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 44d90df commit 464763c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎fs/proc/array.c‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,12 @@ static const char *task_state_array[] = {
138138
"S (sleeping)", /* 1 */
139139
"D (disk sleep)", /* 2 */
140140
"T (stopped)", /* 4 */
141-
"T (tracing stop)", /* 8 */
141+
"t (tracing stop)", /* 8 */
142142
"Z (zombie)", /* 16 */
143-
"X (dead)" /* 32 */
143+
"X (dead)", /* 32 */
144+
"x (dead)", /* 64 */
145+
"K (wakekill)", /* 128 */
146+
"W (waking)", /* 256 */
144147
};
145148

146149
static inline const char *get_task_state(struct task_struct *tsk)

0 commit comments

Comments
 (0)