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>
Showing
- include/linux/sched.h 10 additions, 4 deletionsinclude/linux/sched.h
- kernel/Makefile 1 addition, 0 deletionskernel/Makefile
- kernel/hung_task.c 198 additions, 0 deletionskernel/hung_task.c
- kernel/softlockup.c 0 additions, 100 deletionskernel/softlockup.c
- kernel/sysctl.c 14 additions, 1 deletionkernel/sysctl.c
- lib/Kconfig.debug 38 additions, 0 deletionslib/Kconfig.debug
Loading
Please register or sign in to comment