On Thu, Nov 20, 2014 at 11:49:33AM -0500, Tejun Heo wrote: > On Thu, Nov 20, 2014 at 06:47:11PM +0200, Michael S. Tsirkin wrote: > > > There's cancel_work_sync() to stop the self-requeueing ones. > > > > What happens if queue_work runs while cancel_work_sync is in progress? > > Does it fail to queue? > > cancel_work_sync() is guaranteed to take self-requeueing work items no ^ stop -- tejun _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization