softlockup: decouple hung tasks check from softlockup detection
authorMandeep Singh Baines <msb@google.com>
Thu, 15 Jan 2009 19:08:40 +0000 (11:08 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 16 Jan 2009 13:06:04 +0000 (14:06 +0100)
commite162b39a368f0401e41b558f430c354d12a85b37
tree3fb7e4d48f398d62e5074e7e3dd183cc54f59820
parentc903ff837909ccada51243307d4239f86af40179
softlockup: decouple hung tasks check from softlockup detection

Decoupling allows:

* hung tasks check to happen at very low priority

* hung tasks check and softlockup to be enabled/disabled independently
  at compile and/or run-time

* individual panic settings to be enabled disabled independently
  at compile and/or run-time

* softlockup threshold to be reduced without increasing hung tasks
  poll frequency (hung task check is expensive relative to softlock watchdog)

* hung task check to be zero over-head when disabled at run-time

Signed-off-by: Mandeep Singh Baines <msb@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h
kernel/Makefile
kernel/hung_task.c [new file with mode: 0644]
kernel/softlockup.c
kernel/sysctl.c
lib/Kconfig.debug