]> git.baikalelectronics.ru Git - kernel.git/commit
sched/debug: Add explicit TASK_PARKED printing
authorPeter Zijlstra <peterz@infradead.org>
Fri, 22 Sep 2017 16:37:28 +0000 (18:37 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 29 Sep 2017 09:02:57 +0000 (11:02 +0200)
commit6b23acd91ccd09860fd77e24f16120c0ccf0c820
tree56dd45d5d85ba9aa3dd1cfa9bb9235db97d4b605
parent1104b8cc584fd221b420c872458ca7c304849194
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) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
fs/proc/array.c
include/linux/sched.h
include/trace/events/sched.h