Skip to content
  • Ingo Molnar's avatar
    fix the softlockup watchdog to actually work · a115d5ca
    Ingo Molnar authored
    this Xen related commit:
    
       commit 966812dc
    
    
       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: default avatarIngo Molnar <mingo@elte.hu>
    Cc: Jeremy Fitzhardinge <jeremy@goop.org>
    Cc: <stable@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    a115d5ca