summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorMarcelo Tosatti2013-10-12 02:39:26 +0200
committerGleb Natapov2013-11-06 08:49:02 +0100
commit8b414521bc5375ae8ba18c083af95d44b8da0d04 (patch)
treedd45ba45e6c397081c838b4dd80e42bc3752ad4f /arch/x86
parentpvclock: detect watchdog reset at pvclock read (diff)
downloadkernel-qcow2-linux-8b414521bc5375ae8ba18c083af95d44b8da0d04.tar.gz
kernel-qcow2-linux-8b414521bc5375ae8ba18c083af95d44b8da0d04.tar.xz
kernel-qcow2-linux-8b414521bc5375ae8ba18c083af95d44b8da0d04.zip
hung_task: add method to reset detector
In certain occasions it is possible for a hung task detector positive to be false: continuation from a paused VM, for example. Add a method to reset detection, similar as is done with other kernel watchdogs. Acked-by: Don Zickus <dzickus@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/pvclock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/pvclock.c b/arch/x86/kernel/pvclock.c
index 6279928c0a71..2f355d229a58 100644
--- a/arch/x86/kernel/pvclock.c
+++ b/arch/x86/kernel/pvclock.c
@@ -48,6 +48,7 @@ void pvclock_touch_watchdogs(void)
touch_softlockup_watchdog_sync();
clocksource_touch_watchdog();
rcu_cpu_stall_reset();
+ reset_hung_task_detector();
}
static atomic64_t last_value = ATOMIC64_INIT(0);