]> git.baikalelectronics.ru Git - kernel.git/commit
fix the softlockup watchdog to actually work
authorIngo Molnar <mingo@elte.hu>
Wed, 17 Oct 2007 06:26:06 +0000 (23:26 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 17 Oct 2007 15:42:47 +0000 (08:42 -0700)
commit6b46d0beca9d332cd662a658cf99a7bcbf7b5b16
treefe79f98f103d0d8776ca7971882e9c21753ae67f
parent81cb02dc9d30dcc45691a61c798f5906d1999cdd
fix the softlockup watchdog to actually work

this Xen related commit:

   commit 4a5047a5da084a440d40116e7d1764b451210ebf
   Author: Jeremy Fitzhardinge <jeremy@goop.org>
   Date:   Tue May 8 00:28:02 2007 -0700

       Ignore stolen time in the softlockup watchdog

broke the softlockup watchdog to never report any lockups. (!)

print_timestamp defaults to 0, this makes the following condition
always true:

if (print_timestamp < (touch_timestamp + 1) ||

and we'll in essence never report soft lockups.

apparently the functionality of the soft lockup watchdog was never
actually tested with that patch applied ...

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/softlockup.c