login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
8
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Oleg Nesterov
Subject:
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
Date: Monday, March 8, 2010 - 11:27 am
On 03/08, Heiko Carstens wrote:
quoted text
> > On Tue, Mar 09, 2010 at 12:53:21AM +0900, Tejun Heo wrote: > > > > diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c > > index 65065ac..afe429e 100644 > > --- a/arch/s390/kernel/time.c > > +++ b/arch/s390/kernel/time.c > > @@ -397,7 +397,6 @@ static void __init time_init_wq(void) > > if (time_sync_wq) > > return; > > time_sync_wq = create_singlethread_workqueue("timesync"); > > - stop_machine_create(); > > } > > > > /* > > The reason we introduced stop_machine_create/destroy was to have a non-failing > variant that doesn't rely on I/O. > If we ever see a timesync machine check no I/O will succeed (it blocks) until > clocks have been synchronized. That means also that we rely on the non-blocking > semantics that those functions must have that are called via stop_machine. > This isn't true anymore with the cpu hog infrastructure: > if passed a blocking function that could wait on I/O we won't see any progress > anymore and the machine is dead.
Could you please spell? How cpuhog can make a difference? Afaics, we shouldn't pass a blocking callback to hog_cpus/hog_one_cpu. Oleg. --
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:
[PATCHSET] cpuhog: implement and use cpuhog
, Tejun Heo
, (Mon Mar 8, 8:53 am)
[PATCH 1/4] cpuhog: implement cpuhog
, Tejun Heo
, (Mon Mar 8, 8:53 am)
[PATCH 2/4] stop_machine: reimplement using cpuhog
, Tejun Heo
, (Mon Mar 8, 8:53 am)
[PATCH 3/4] scheduler: replace migration_thread with cpuhog
, Tejun Heo
, (Mon Mar 8, 8:53 am)
[PATCH 4/4] scheduler: kill paranoia check in synchronize_ ...
, Tejun Heo
, (Mon Mar 8, 8:53 am)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Arjan van de Ven
, (Mon Mar 8, 9:32 am)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Heiko Carstens
, (Mon Mar 8, 10:10 am)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Oleg Nesterov
, (Mon Mar 8, 11:27 am)
Re: [PATCH 1/4] cpuhog: implement cpuhog
, Oleg Nesterov
, (Mon Mar 8, 12:01 pm)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Oleg Nesterov
, (Mon Mar 8, 12:06 pm)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Heiko Carstens
, (Mon Mar 8, 12:37 pm)
Re: [PATCH 1/4] cpuhog: implement cpuhog
, Tejun Heo
, (Mon Mar 8, 4:18 pm)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Tejun Heo
, (Mon Mar 8, 4:21 pm)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Tejun Heo
, (Mon Mar 8, 4:22 pm)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Tejun Heo
, (Mon Mar 8, 4:39 pm)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Heiko Carstens
, (Tue Mar 9, 12:09 am)
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
, Tejun Heo
, (Tue Mar 9, 12:16 am)
Re: [PATCHSET] cpuhog: implement and use cpuhog
, Peter Zijlstra
, (Wed Mar 10, 12:25 pm)
Re: [PATCHSET] cpuhog: implement and use cpuhog
, Tejun Heo
, (Thu Mar 11, 8:13 pm)
Re: [PATCHSET] cpuhog: implement and use cpuhog
, Rusty Russell
, (Sun Mar 28, 11:46 pm)
Re: [PATCHSET] cpuhog: implement and use cpuhog
, Peter Zijlstra
, (Mon Mar 29, 2:11 am)
Re: [PATCHSET] cpuhog: implement and use cpuhog
, Tejun Heo
, (Thu Apr 1, 10:45 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian
[RFC/PATCH] RE: git calls SSH_ASKPASS even if DISPLAY is not set
Junio C Hamano
Re: Rss produced by git is not valid xml?
git-commits-head
:
Linux Kernel Mailing List
iSeries: fix section mismatch in iseries_veth
Linux Kernel Mailing List
ixbge: remove TX lock and redo TX accounting.
Linux Kernel Mailing List
ixgbe: fix several counter register errata
Linux Kernel Mailing List
b43: fix build with CONFIG_SSB_PCIHOST=n
Linux Kernel Mailing List
9p: block-based virtio client
linux-netdev
:
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
Michael Breuer
Re: [PATCH] af_packet: Don't use skb after dev_queue_xmit()
David Daney
[PATCH 5/7] Staging: Octeon Ethernet: Convert to NAPI.
Wolfgang Grandegger
[PATCH net-next v4 1/3] can: mscan: fix improper return if dlc < 8 in start_xmi...
Amit Kumar Salecha
[PATCHv3 NEXT 2/2] NET: Add Qlogic ethernet driver for CNA devices