Re: [PATCH 2/4] stop_machine: reimplement using cpuhog

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Heiko Carstens
Date: Monday, March 8, 2010 - 10:10 am

On Tue, Mar 09, 2010 at 12:53:21AM +0900, Tejun Heo wrote:

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.
--
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)
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, Heiko Carstens, (Tue Mar 9, 12:09 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)