]> git.baikalelectronics.ru Git - kernel.git/commit
softlockup: add a /proc tuning parameter
authorRavikiran G Thirumalai <kiran@scalex86.org>
Wed, 17 Oct 2007 06:26:09 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:47 +0000 (08:42 -0700)
commit179d581ffab24251fcb2047036c6acd4df546356
tree432723f1c7ac2fcff0aa57377c31187140d69145
parentec949490f676569428a8f17d80fc18f90643b4be
softlockup: add a /proc tuning parameter

Control the trigger limit for softlockup warnings.  This is useful for
debugging softlockups, by lowering the softlockup_thresh to identify
possible softlockups earlier.

This patch:
1. Adds a sysctl softlockup_thresh with valid values of 1-60s
   (Higher value to disable false positives)
2. Changes the softlockup printk to print the cpu softlockup time

[akpm@linux-foundation.org: Fix various warnings and add definition of "two"]
Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/sysctl/kernel.txt
include/linux/sched.h
kernel/softlockup.c
kernel/sysctl.c