Re: [PATCH v2.6.36-rc7] init: don't call flush_scheduled_work() fromdo_initcalls()

From: Tejun Heo
Date: Tue Oct 19 2010 - 11:29:05 EST


On 10/15/2010 05:13 PM, Tejun Heo wrote:
> It's unclear what flush_scheduled_work() in do_initcalls() tries to
> achieve. The call doesn't make much sense - there already are
> multiple system workqueues which aren't affected by
> flush_scheduled_wokr() and subsystems are free to create and use their
> own. Ordering requirements are and should be expressed explicitly.
>
> Drop the call to prepare for deprecation and removal of
> flush_scheduled_work().
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> ---
> If no one objects, I'll route this through wq tree.

Applying to wq#for-next. Please scream if something is wrong.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/