Re: [PATCH v3] virtio_balloon: Convert "vballoon" kthread into a workqueue
From: Tejun Heo
Date: Thu Nov 20 2014 - 11:50:38 EST
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
--
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/