Re: [PATCH 10/43] stop_machine: reimplement without using workqueue

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Nesterov
Date: Monday, March 1, 2010 - 9:50 am

On 03/02, Tejun Heo wrote:

Agreed, a little comment can help.

But, just in case, I forgot to repeat this case is not possible anyway.
_cpu_down() ensures idle_cpu(cpu) == T after __stop_machine(), this means
that this SCHED_FIFO thread we are going to kthread_stop() later can't
be active.

Oleg.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 03/43] sched: refactor try_to_wake_up(), Tejun Heo, (Fri Feb 26, 5:22 am)
[PATCH 11/43] workqueue: misc/cosmetic updates, Tejun Heo, (Fri Feb 26, 5:22 am)
[PATCH 19/43] workqueue: introduce worker, Tejun Heo, (Fri Feb 26, 5:22 am)
[PATCH] workqueue: Fix build on PowerPC, Anton Blanchard, (Sat Feb 27, 3:52 pm)
[PATCH] workqueue: Fix a compile warning in work_busy, Anton Blanchard, (Sat Feb 27, 6:00 pm)
Re: [PATCH] workqueue: Fix build on PowerPC, Tejun Heo, (Sat Feb 27, 11:08 pm)
Re: [PATCH 07/43] sched: implement try_to_wake_up_local(), Oleg Nesterov, (Sun Feb 28, 5:33 am)
Re: [PATCH 10/43] stop_machine: reimplement without using ..., Oleg Nesterov, (Mon Mar 1, 9:50 am)