]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c609d1feaf47ed5761541baa986f1220c73c526
tree3fb7e4d48f398d62e5074e7e3dd183cc54f59820
parent10f7a06b8f025c9b6f74fd7f2f264395f1a15161
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