login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
16
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Frederic Weisbecker
Subject:
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
Date: Friday, April 16, 2010 - 7:59 am
On Fri, Apr 16, 2010 at 04:53:11PM +0200, Peter Zijlstra wrote:
quoted text
> On Fri, 2010-04-16 at 16:46 +0200, Frederic Weisbecker wrote: > > > > May be have an arch spin lock there to update your cpu mask safely. > > > > > > > > > > Hmm, this is NMI handler path so from what we protect this per-cpu data? > > > Do I miss something? /me confused > > > > > > The cpu mask is not per cpu here, this is a shared bitmap, so you > > can race against other cpus NMIs. > > > > That said, as I suggested, having a per cpu var that we set when we > > warned would be much better than a spinlock here. > > Every time you think NMI and spinlock think FAIL.
In fact I was first inspired by the x86 nmi watchdog handler that does this spinlock to protect cpumask, but realize just after my FAIL ;-) --
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:
[PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Thu Apr 15, 2:25 pm)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Randy Dunlap
, (Thu Apr 15, 3:32 pm)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Thu Apr 15, 6:47 pm)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Fri Apr 16, 7:12 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Fri Apr 16, 7:12 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Cyrill Gorcunov
, (Fri Apr 16, 7:32 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Fri Apr 16, 7:43 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Fri Apr 16, 7:46 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Fri Apr 16, 7:46 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Peter Zijlstra
, (Fri Apr 16, 7:53 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Cyrill Gorcunov
, (Fri Apr 16, 7:54 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Fri Apr 16, 7:59 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Fri Apr 16, 8:04 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Fri Apr 16, 8:32 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Fri Apr 16, 9:14 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Frederic Weisbecker
, (Fri Apr 16, 9:24 am)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Mon Apr 19, 2:21 pm)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Ingo Molnar
, (Mon Apr 19, 2:35 pm)
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
, Don Zickus
, (Mon Apr 19, 2:51 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Howells
[PATCH] KEYS: Use the variable 'key' in keyctl_describe_key()
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
Greg Kroah-Hartman
[PATCH 09/36] driver core: register_memory/unregister_memory clean ups and bugfix
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
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
Daniel Schaffrath
Re: tcp bw in 2.6
Matt Mackall
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
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
tracing: protect reader of cmdline output
Linux Kernel Mailing List
imxfb: Fix margin settings
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
openbsd-misc
:
Stas Miasnikou
Re: Another question: device naming convention
Darrin Chandler
Re: That whole "Linux stealing our code" thing
Community First Financial
Teacher A+ Loan
Jan Stary
Re: audio recording levels
Andrej Elizarov
Re: Web Browsers
Colocation donated by:
Syndicate