[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200812080015.22793.bzolnier@gmail.com>
Date: Mon, 8 Dec 2008 00:15:22 +0100
From: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Sergei Shtylyov <sshtylyov@...mvista.com>,
Lars Winterfeld <lars.winterfeld@...ilmenau.de>,
linux-kernel@...r.kernel.org
Subject: [PATCH] nohz: add missing handling of clocksource watchdog
Fixes "Clocksource tsc unstable (delta = -974982308 ns)" problem.
[ IDE was unlucky to be initialized at the same time that
clocksource watchdog triggers and was blamed for the issue. ]
Cc: Sergei Shtylyov <sshtylyov@...mvista.com>
Cc: Lars Winterfeld <lars.winterfeld@...ilmenau.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
---
kernel/time/tick-sched.c | 2 ++
1 file changed, 2 insertions(+)
Index: b/kernel/time/tick-sched.c
===================================================================
--- a/kernel/time/tick-sched.c
+++ b/kernel/time/tick-sched.c
@@ -21,6 +21,7 @@
#include <linux/sched.h>
#include <linux/tick.h>
#include <linux/module.h>
+#include <linux/clocksource.h>
#include <asm/irq_regs.h>
@@ -153,6 +154,7 @@ void tick_nohz_update_jiffies(void)
local_irq_restore(flags);
touch_softlockup_watchdog();
+ clocksource_touch_watchdog();
}
static void tick_nohz_stop_idle(int cpu)
.
Powered by blists - more mailing lists