]> git.baikalelectronics.ru Git - kernel.git/commit
lktdm: add support for hardlockup, softlockup and hung task crashes
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 26 May 2010 21:44:29 +0000 (14:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:54 +0000 (09:12 -0700)
commit1141a446ee7d120e1aa6aba00f070a71b61aefeb
tree535341e185dc6a00bc037c4cbaed8cbe2b9b66c3
parent4e38e5cfc42d7eb334ce7a03778a0692c41cf3b4
lktdm: add support for hardlockup, softlockup and hung task crashes

This adds three new types of kernel "crashes" in the lkdtm driver to
trigger hardlockups, softlockups and task hung states at will.

The first two are useful to test the new generic lockup detector and check
its further regressions.  The latter one is a bonus to check the hung task
detector regressions even though it's not currently in rework.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Simon Kagstrom <simon.kagstrom@netinsight.net>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/lkdtm.c