]> git.karo-electronics.de Git - linux-beck.git/commit
make SysRq-T show all tasks again
authorIngo Molnar <mingo@elte.hu>
Thu, 26 Apr 2007 03:50:03 +0000 (20:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 27 Apr 2007 17:46:51 +0000 (10:46 -0700)
commit39bc89fd4019b164002adaacef92c4140e37955a
tree34ff87b8d8c2984af2015dd8c01177df88815214
parent20f09390b2da2432309afe8aaa0bd64ec64c4584
make SysRq-T show all tasks again

show_state() (SysRq-T) developed the buggy habbit of not showing
TASK_RUNNING tasks.  This was due to the mistaken belief that state_filter
== -1 would be a pass-through filter - while in reality it did not let
TASK_RUNNING == 0 p->state values through.

Fix this by restoring the original '!state_filter means all tasks'
special-case i had in the original version.  Test-built and test-booted on
i686, SysRq-T now works as intended.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sched.h
kernel/sched.c