Messages in this thread | | | Date | Fri, 21 Feb 2014 10:07:35 -0500 | From | Tejun Heo <> | Subject | Re: [PATCH 5/9] usb: don't use PREPARE_DELAYED_WORK |
| |
On Fri, Feb 21, 2014 at 10:06:05AM -0500, Alan Stern wrote: > > I think it should be fine to use INIT_DELAYED_WORK(), but Alan would > > know best. Alan? > > That's right; INIT_DELAYED_WORK() should be fine. Provided there's no > problem doing it from within the previous work routine.
Yeah, that's completely fine. Once a work item starts execution, workqueue doesn't care about it at all - even freeing and recycling it is fine.
Thanks.
-- tejun
| |