sched/debug: Add explicit TASK_PARKED printing
authorPeter Zijlstra <[email protected]>
Fri, 22 Sep 2017 16:37:28 +0000 (18:37 +0200)
committerIngo Molnar <[email protected]>
Fri, 29 Sep 2017 09:02:57 +0000 (11:02 +0200)
commit8ef9925b02c23e3838d5e593c5cf37984141150f
tree56dd45d5d85ba9aa3dd1cfa9bb9235db97d4b605
parent5d68cc95fb24b2f58060cc5340dd7402a11f054e
sched/debug: Add explicit TASK_PARKED printing

Currently TASK_PARKED is masqueraded as TASK_INTERRUPTIBLE, give it
its own print state because it will not in fact get woken by regular
wakeups and is a long-term state.

This requires moving TASK_PARKED into the TASK_REPORT mask, and since
that latter needs to be a contiguous bitmask, we need to shuffle the
bits around a bit.

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
fs/proc/array.c
include/linux/sched.h
include/trace/events/sched.h