login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
9
Re: [watchdog] combine nmi_watchdog and softlockup
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Don Zickus
Subject:
Re: [watchdog] combine nmi_watchdog and softlockup
Date: Friday, April 9, 2010 - 8:05 am
On Fri, Apr 09, 2010 at 06:56:50PM +0400, Cyrill Gorcunov wrote:
quoted text
> On Fri, Apr 09, 2010 at 02:00:38AM +0200, Frederic Weisbecker wrote: > > On Tue, Apr 06, 2010 at 07:31:15PM +0400, Cyrill Gorcunov wrote: > > > > I fear the cpu clock is not going to help you detecting any hard lockups. > > > > If you're stuck in an interrupt or an irq disabled loop, your cpu clock is > > > > not going to fire. > > > > > > > > > > I guess it's not supposed to. For such cases only nmi irqs may help for which > > > the perf events are there (/me need to check if we program apic timer for anything > > > like that). But it should help for other deadlocks. Or I miss something? > > > > > > Actually not. What the hardlockup detector does it to check the progression > > of irqs. > > > > yup, i know what nmi-watchdog is doing. I guess you've misunderstood me. I meant > that sw-driven detector is not supposed to guard against the cases you're > referring to. I don't remember the details but someone proposed to make a > fallback to sw-watchdog if there is no ability to use nmi from perf-events > (for any reason) which eventually being implemented in Don's patch. And > there will be a message that watchdog has been switched to sw-driven > scaffold. So user will (or should) see this message and mark it I believe. > This sw-watchdog is like "ok, we've been trying our best but there is a > problem and the only solution we could offer -- is to use sw-watchdog". > That is how I understand the reason for sw-watchdog there.
Correct.
quoted text
> > > > > So it detects true hardlockups: stuck in an irq disabled section. > > If you don't have NMI to detect that (here this made by hardware clock based > > on cpu cycles overflows), then you're screwed. The hardlockup detector is > > useless with a maskable irq based clock. > > > -- Cyrill
Cheers, Don --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Tue Mar 23, 2:33 pm)
Re: [watchdog] combine nmi_watchdog and softlockup
, Aristeu Sergio Rozan ...
, (Sat Mar 27, 7:46 pm)
Re: [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Mon Mar 29, 11:26 am)
Re: [watchdog] combine nmi_watchdog and softlockup
, Aristeu Sergio Rozan ...
, (Tue Mar 30, 7:52 am)
Re: [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Mon Apr 5, 7:11 am)
Re: [watchdog] combine nmi_watchdog and softlockup
, Cyrill Gorcunov
, (Mon Apr 5, 1:11 pm)
Re: [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Mon Apr 5, 1:16 pm)
Re: [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Tue Apr 6, 7:13 am)
[No subject]
, Cyrill Gorcunov
, (Tue Apr 6, 8:31 am)
Re: [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Tue Apr 6, 11:59 am)
Re: [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Thu Apr 8, 4:52 pm)
Re: [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Thu Apr 8, 5:00 pm)
Re: [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Thu Apr 8, 5:22 pm)
Re: [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Thu Apr 8, 6:02 pm)
Re: [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Fri Apr 9, 6:32 am)
Re: [watchdog] combine nmi_watchdog and softlockup
, Cyrill Gorcunov
, (Fri Apr 9, 7:56 am)
Re: [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Fri Apr 9, 8:05 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Matthew Garrett
Re: 2.6.25-rc6 regression - hang on resume [Bug 10319]
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Andy Walls
Re: [PATCH 11/32] v4l/cx18: update workqueue usage
Thomas Gleixner
[patch -mm 19/28] x86_64: Use generic cmos update
Casey Schaufler
Re: [PATCH] Smack: Simplified Mandatory Access Control Kernel
linux-netdev
:
David Miller
Re: [PATCH 32/53] netns xfrm: finding policy in netns
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Jan Engelhardt
[PATCH 1/3] net: tcp: make hybla selectable as default congestion module
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Eric Dumazet
Re: HTB accuracy on 10GbE
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Johannes Schindelin
Re: error: cannot lock ref 'refs/remotes/origin/*'
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Michael Witten
Re: 'git gc --aggressive' effectively unusable
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (8018): Add em2860 chip ID
Linux Kernel Mailing List
ipv6: fix an oops when force unload ipv6 module
Linux Kernel Mailing List
[ARM] unconditionally define __virt_to_phys and __phys_to_virt
Linux Kernel Mailing List
ixgbe: fix automatic LRO/RSC settings for low latency
Linux Kernel Mailing List
3c515: convert to net_device_ops
openbsd-misc
:
Samuel Baldwin
Re: Forum engine
Robert
disklabel - cylinder rounding
nixlists
Re: Which laptops do the developers use?
Claudio Jeker
Re: OT: Python (was Re: vi in /bin)
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Colocation donated by:
Syndicate