login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
17
Re: [PATCH] stopmachine: add stopmachine_timeout v4
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Max Krasnyansky <maxk@...>
To: Hidetoshi Seto <seto.hidetoshi@...>
Cc: <linux-kernel@...>, Rusty Russell <rusty@...>, Heiko Carstens <heiko.carstens@...>, Jeremy Fitzhardinge <jeremy@...>, Christian Borntraeger <borntraeger@...>, <virtualization@...>, Zachary Amsden <zach@...>
Subject:
Re: [PATCH] stopmachine: add stopmachine_timeout v4
Date: Thursday, July 17, 2008 - 3: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, 3:52 am)
[PATCH] stopmachine: add stopmachine_timeout v4
, Hidetoshi Seto
, (Thu Jul 17, 2:12 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v4
, Max Krasnyansky
, (Thu Jul 17, 3:09 am)
[PATCH] stopmachine: add stopmachine_timeout v2
, Hidetoshi Seto
, (Wed Jul 16, 12:27 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Jeremy Fitzhardinge
, (Wed Jul 16, 6:11 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Hidetoshi Seto
, (Wed Jul 16, 11:40 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Rusty Russell
, (Fri Jul 18, 12:18 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Jeremy Fitzhardinge
, (Thu Jul 17, 1:37 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Max Krasnyansky
, (Wed Jul 16, 2:23 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v2
, Hidetoshi Seto
, (Wed Jul 16, 2:35 am)
[PATCH] stopmachine: add stopmachine_timeout v3
, Hidetoshi Seto
, (Wed Jul 16, 2:51 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v3
, Peter Zijlstra
, (Wed Jul 16, 3:33 am)
Re: [PATCH] stopmachine: add stopmachine_timeout v3
, Hidetoshi Seto
, (Wed Jul 16, 4:12 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Christian Borntraeger
, (Mon Jul 14, 7:51 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Mon Jul 14, 8:34 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Jeremy Fitzhardinge
, (Mon Jul 14, 2:56 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Heiko Carstens
, (Mon Jul 14, 5:20 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Hidetoshi Seto
, (Mon Jul 14, 10:24 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Max Krasnyansky
, (Mon Jul 14, 10:37 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Max Krasnyansky
, (Mon Jul 14, 10:24 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Tue Jul 15, 4:09 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Christian Borntraeger
, (Wed Jul 16, 5:15 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Max Krasnyansky
, (Tue Jul 15, 4:51 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Heiko Carstens
, (Tue Jul 15, 4:39 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Heiko Carstens
, (Tue Jul 15, 2:09 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Mon Jul 14, 9:14 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Mon Jul 14, 6:43 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Hidetoshi Seto
, (Mon Jul 14, 9:11 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Tue Jul 15, 3:50 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Hidetoshi Seto
, (Wed Jul 16, 12:05 am)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Rusty Russell
, (Sun Jul 20, 5:45 am)
[PATCH] stopmachine: allow force progress on timeout
, Hidetoshi Seto
, (Mon Jul 21, 11:28 pm)
Re: [PATCH] stopmachine: add stopmachine_timeout
, Hidetoshi Seto
, (Mon Jul 14, 4:19 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Natalie Protasevich
[BUG] New Kernel Bugs
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Andi Kleen
[PATCH x86] [0/16] Various i386/x86-64 changes
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Linus Torvalds
Re: [GIT]: Networking
Jeff Kirsher
[net-next PATCH 1/7] e1000e: enable CRC stripping by default
netbsd-tech-kern
:
Jukka Andberg
ata/wdc vs gcc3 on amiga
YAMAMOTO Takashi
Re: wd.c patch to reduce kernel stack usage
Jason Thorpe
Re: ksyms patches.
rick
NFS transport
Colocation donated by:
Who's online
There are currently
1 user
and
889 guests
online.
Online users
basika68
Syndicate