On Tue, Feb 19, 2013 at 10:28 PM, Ingo Molnar <mi...@kernel.org> wrote: > + /* drain remaining works */ > + spin_lock_irqsave(&stopper->lock, flags); > + list_for_each_entry(work, &stopper->works, list) > + cpu_stop_signal_done(work->done, false);
After flushing enqueued works, in what state is the works list head, Thomas? > + stopper->enabled = false; > + spin_unlock_irqrestore(&stopper->lock, flags); > } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/