login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
9
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: Tejun Heo
Subject:
Re: [PATCH 2/4] stop_machine: reimplement using cpuhog
Date: Tuesday, March 9, 2010 - 12:16 am
On 03/09/2010 04:09 PM, Heiko Carstens wrote:
quoted text
> On Tue, Mar 09, 2010 at 08:39:40AM +0900, Tejun Heo wrote: >> Hello, >> >> On 03/09/2010 04:37 AM, Heiko Carstens wrote: >>>> How cpuhog can make a difference? Afaics, we shouldn't pass a >>>> blocking callback to hog_cpus/hog_one_cpu. >>> >>> Well, it might me true that this shouldn't be done. But I don't see >>> a reason why in general it wouldn't work to pass a function that >>> would block. So it's just a matter of time until somebody uses it >>> for such a purpose. For the current stop_machine implementation it >>> would be broken to pass a blocking function (preemption disabled, >>> interrupts disabled). >> >> Well, all current users don't block and it definitely can be enforced >> by turning off preemption around the callback. stop_machine() uses >> busy waiting for every state transition so something else blocking on >> a cpu could waste a lot of cpu cycles on other cpus even if the wait >> is guaranteed to be finite. Would that sooth your concern? > > Yes, enforcing non blocking functions would be good.
Alright, will refresh and post the second round. Thanks. -- tejun --
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