Messages in this thread | | | Date | Thu, 20 Nov 2014 11:50:28 -0500 | From | Tejun Heo <> | Subject | Re: [PATCH v3] virtio_balloon: Convert "vballoon" kthread into a workqueue |
| |
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
| |