login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
17
Re: [PATCH] stopmachine: add stopmachine_timeout v4
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Max Krasnyansky
Subject:
Re: [PATCH] stopmachine: add stopmachine_timeout v4
Date: Thursday, July 17, 2008 - 12:09 am
Hidetoshi Seto wrote:
quoted text
> If stop_machine() invoked while one of onlined cpu is locked up > by some reason, stop_machine cannot finish its work because the > locked cpu cannot stop. This means all other healthy cpus > will be blocked infinitely by one dead cpu. > > This patch allows stop_machine to return -EBUSY with some printk > messages if any of stop_machine's threads cannot start running on > its target cpu in time. You can enable this timeout via sysctl. > > v4: > - move extern into linux/stop_machine.h and add include of the > header to kernel/sysctl.c. Now stopmachine_timeout is available > only on smp. > > v3: > - set stopmachine_timeout default to 0 (= never timeout) > > v2: > - remove fix for warning since it will be fixed upcoming typesafe > patches > - make stopmachine_timeout from secs to msecs > - allow disabling timeout by setting the stopmachine_timeout to 0 > > Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> > --- > include/linux/stop_machine.h | 3 ++ > kernel/stop_machine.c | 54 +++++++++++++++++++++++++++++++++++++++-- > kernel/sysctl.c | 12 +++++++++ > 3 files changed, 66 insertions(+), 3 deletions(-)
Looks good to me. Ack. Max --
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] stopmachine: add stopmachine_timeout
, Hidetoshi Seto
, (Mon Jul 14, 12:52 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Hidetoshi Seto
, (Mon Jul 14, 1:19 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Mon Jul 14, 3:43 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Christian Borntraeger
, (Mon Jul 14, 4:51 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Mon Jul 14, 5:34 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Jeremy Fitzhardinge
, (Mon Jul 14, 11:56 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Heiko Carstens
, (Mon Jul 14, 2:20 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Hidetoshi Seto
, (Mon Jul 14, 6:11 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Mon Jul 14, 6:14 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Hidetoshi Seto
, (Mon Jul 14, 7:24 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Max Krasnyansky
, (Mon Jul 14, 7:24 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Max Krasnyansky
, (Mon Jul 14, 7:37 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Heiko Carstens
, (Mon Jul 14, 11:09 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Tue Jul 15, 12:50 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Tue Jul 15, 1:09 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Heiko Carstens
, (Tue Jul 15, 1:39 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Max Krasnyansky
, (Tue Jul 15, 1:51 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Hidetoshi Seto
, (Tue Jul 15, 9:05 pm)
[PATCH] stopmachine: add stopmachine_timeout v2
, Hidetoshi Seto
, (Tue Jul 15, 9:27 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Max Krasnyansky
, (Tue Jul 15, 11:23 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Hidetoshi Seto
, (Tue Jul 15, 11:35 pm)
[PATCH] stopmachine: add stopmachine_timeout v3
, Hidetoshi Seto
, (Tue Jul 15, 11:51 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout v3
, Peter Zijlstra
, (Wed Jul 16, 12:33 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v3
, Hidetoshi Seto
, (Wed Jul 16, 1:12 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Christian Borntraeger
, (Wed Jul 16, 2:15 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Jeremy Fitzhardinge
, (Wed Jul 16, 3:11 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Hidetoshi Seto
, (Wed Jul 16, 8:40 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Jeremy Fitzhardinge
, (Wed Jul 16, 10:37 pm)
[PATCH] stopmachine: add stopmachine_timeout v4
, Hidetoshi Seto
, (Wed Jul 16, 11:12 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout v4
, Max Krasnyansky
, (Thu Jul 17, 12:09 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Rusty Russell
, (Thu Jul 17, 9:18 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Sun Jul 20, 2:45 am)
[PATCH] stopmachine: allow force progress on timeout
, Hidetoshi Seto
, (Mon Jul 21, 8:28 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