Messages in this thread |  | | | Date | Tue, 31 Jul 2012 10:11:46 -0700 | | From | Tejun Heo <> | | Subject | Re: [PATCH 15/15] workqueue: deprecate __cancel_delayed_work() |
| |
On Tue, Jul 31, 2012 at 04:05:39PM +0300, Tomi Valkeinen wrote: > > Use cancel_delayed_work() instead of __cancel_delayed_work() and mark > > the latter deprecated. > > I used __cancel_delayed_work() in drivers/video/omap2/dss/dsi.c as the > cancel is done in an interrupt handler. Is it safe to use > cancel_delayed_work() in atomic context? I presume not, as it uses > del_timer_sync().
Ah, you're right. __cancel_delayed_work() invoked from irq context can't be converted to cancel_delayed_work() or mod_delayed_work(). I'll skip those from the previous patch and drop this patch. I really hope this could be solved somehow tho. :(
Thank you.
-- tejun
|  |