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: Cyrill Gorcunov
Subject:
Re: [PATCH v2] [watchdog] combine nmi_watchdog and softlockup
Date: Friday, April 16, 2010 - 7:54 am
On Fri, Apr 16, 2010 at 04:46:17PM +0200, Frederic Weisbecker wrote: ...
quoted text
> > > > + if (hardlockup_panic) > > > > + panic("Watchdog detected hard LOCKUP on cpu %d", this_cpu); > > > > + else > > > > + WARN(1, "Watchdog detected hard LOCKUP on cpu %d", this_cpu); > > > > + > > > > + cpumask_set_cpu(this_cpu, to_cpumask(hardlockup_mask)); > > > > > > > > > > > > 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. >
yeah, saw DECLARE_BITMAP but read it as DEFINE_PER_CPU for some reason. having any spinlock in irq handler is really under suspicious. -- Cyrill --
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
:
Rafael J. Wysocki
[Bug #11559] 2.6.27-rc6: nohz + s2ram = need to press keys to get progress
Chris Mason
Re: [Bug #11548] kernel BUG at drivers/pci/intel-iommu.c:1373!
Josef 'Jeff' Sipek
[PATCH 23/24] Unionfs: Kconfig and Makefile
Borislav Petkov
2.6.23-rc1: no setup signature found...
Linus Torvalds
Linux 2.6.34-rc4
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Laflen, Brandon (GE, Research)
RE: fatal: Unable to find remote helper for 'http'
Oliver Hoffmann
git init --bare versus git --bare init
Sam Song
Fwd: [OT] Re: Git via a proxy server?
Peter Kjellerstedt
RE: [PATCH] send-email: do not check for editor until needed
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
David Miller
Re: [PATCH v5] rfs: Receive Flow Steering
David Miller
Re: [PATCH 2/2] macb: process the RX ring regardless of interrupt status
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB (13368): af9015: support for Sveon STV20 Tuner USB DVB-T HDTV
Linux Kernel Mailing List
ixgbe: Fix - Do not allow Rx FC on 82598 at 1G due to errata
Linux Kernel Mailing List
checkpatch: add check for too short Kconfig descriptions
Linux Kernel Mailing List
Bluetooth: Fallback eSCO to SCO on error 0x1a (Unsupported Remote Feature)
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
openbsd-misc
:
Private Equity Investment Exchange of Vietnam
Cong cu huu hieu: Cong giao tiep dau tu chuyen nghiep nhat Vietnam | Private Equit...
mark reardon
pfctl not loading rules - Must enable table loading for optimizations
KURS ENGLESKOG JEZIKA NA 10 CD-a
AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Nick Guenther
Re: This is what Linus Torvalds calls openBSD crowd
Colocation donated by:
Syndicate