On Tue, 2008-10-21 at 22:30 +0200, Peter Zijlstra wrote:
> The problem appears to be calling flush_work(), which is rather heavy > handed. We could do schedule_on_each_cpu() using a completion. > > Which I think is a nicer solution (if sufficient of course).
Ah, never mind, the flush_work() is already doing the right thing using barriers and completions.