Re: [patch] fix the softlockup watchdog to actually work

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Yinghai Lu
Date: Wednesday, October 3, 2007 - 4:49 pm

On 7/17/07, Ingo Molnar <mingo@elte.hu> wrote:

how about

diff --git a/kernel/softlockup.c b/kernel/softlockup.c
index 708d488..bbc0292 100644
--- a/kernel/softlockup.c
+++ b/kernel/softlockup.c
@@ -80,7 +80,7 @@ void softlockup_tick(void)
        print_timestamp = per_cpu(print_timestamp, this_cpu);

        /* report at most once a second */
-       if (print_timestamp < (touch_timestamp + 1) ||
+       if (((touch_timestamp - print_timestamp) < 1) ||
                did_panic ||
                        !per_cpu(watchdog_task, this_cpu))


YH
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] softlockup watchdog: fix Xen bogosity, Ingo Molnar, (Tue Jul 17, 4:44 am)
Re: [patch] softlockup watchdog: fix Xen bogosity, Jeremy Fitzhardinge, (Tue Jul 17, 7:17 am)
[patch] fix the softlockup watchdog to actually work, Ingo Molnar, (Tue Jul 17, 8:49 am)
Re: [patch] fix the softlockup watchdog to actually work, Randy Dunlap, (Tue Jul 17, 10:03 am)
Re: [patch] fix the softlockup watchdog to actually work, Linus Torvalds, (Tue Jul 17, 11:14 am)
Re: [patch] fix the softlockup watchdog to actually work, Andrew Morton, (Thu Jul 19, 12:22 am)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 7:31 am)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 7:40 am)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 7:46 am)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 8:04 am)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 8:21 am)
Re: [patch] sched: implement cpu_clock(cpu) high-speed tim ..., Jeremy Fitzhardinge, (Thu Jul 19, 9:11 am)
Re: [patch] sched: implement cpu_clock(cpu) high-speed tim ..., Jeremy Fitzhardinge, (Thu Jul 19, 9:18 am)
Re: [patch] sched: implement cpu_clock(cpu) high-speed tim ..., Jeremy Fitzhardinge, (Thu Jul 19, 9:29 am)
Re: [patch] sched: implement cpu_clock(cpu) high-speed tim ..., Jeremy Fitzhardinge, (Thu Jul 19, 11:10 am)
Re: [patch] fix the softlockup watchdog to actually work, Andrew Morton, (Wed Jul 25, 1:49 am)
Re: [patch] fix the softlockup watchdog to actually work, Andrew Morton, (Wed Jul 25, 2:00 am)
Re: [patch] fix the softlockup watchdog to actually work, Andrew Morton, (Wed Jul 25, 2:17 am)
Re: [patch] fix the softlockup watchdog to actually work, Yinghai Lu, (Wed Oct 3, 4:49 pm)