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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Jeremy Fitzhardinge <jeremy@...>, <linux-kernel@...>, Andrew Morton <akpm@...>, Linus Torvalds <torvalds@...>, <stable@...>, Greg KH <greg@...>, Chris Wright <chrisw@...>
Date: Wednesday, October 3, 2007 - 7: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, 7:44 am)
Re: [patch] softlockup watchdog: fix Xen bogosity, Jeremy Fitzhardinge, (Tue Jul 17, 10:17 am)
[patch] fix the softlockup watchdog to actually work, Ingo Molnar, (Tue Jul 17, 11:49 am)
Re: [patch] fix the softlockup watchdog to actually work, Yinghai Lu, (Wed Oct 3, 7:49 pm)
Re: [patch] fix the softlockup watchdog to actually work, Andrew Morton, (Wed Jul 25, 4:49 am)
Re: [patch] fix the softlockup watchdog to actually work, Andrew Morton, (Wed Jul 25, 5:00 am)
Re: [patch] fix the softlockup watchdog to actually work, Andrew Morton, (Wed Jul 25, 5:17 am)
Re: [patch] fix the softlockup watchdog to actually work, Andrew Morton, (Thu Jul 19, 3:22 am)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 10:31 am)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 10:46 am)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 11:04 am)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 11:21 am)
Re: [patch] sched: implement cpu_clock(cpu) high-speed time ..., Jeremy Fitzhardinge, (Thu Jul 19, 12:11 pm)
Re: [patch] sched: implement cpu_clock(cpu) high-speed time ..., Jeremy Fitzhardinge, (Thu Jul 19, 2:10 pm)
Re: [patch] sched: implement cpu_clock(cpu) high-speed time ..., Jeremy Fitzhardinge, (Thu Jul 19, 12:18 pm)
Re: [patch] sched: implement cpu_clock(cpu) high-speed time ..., Jeremy Fitzhardinge, (Thu Jul 19, 12:29 pm)
Re: [patch] fix the softlockup watchdog to actually work, Jeremy Fitzhardinge, (Thu Jul 19, 10:40 am)
Re: [patch] fix the softlockup watchdog to actually work, Linus Torvalds, (Tue Jul 17, 2:14 pm)