[lkml]   [2011]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kernel panic on device removal when using a workqueue and delayed_work
Am Montag, 31. Oktober 2011, 11:26:58 schrieb Frank Schäfer:
> Am 31.10.2011 04:11, schrieb Yong Zhang:

> >> This is the first time I'm using a workqueue, so there is a good
> >> chance that I missed something...
> > You should cancel the work you have armed before exit.
> > See cancel_delayed_work().
> That's what I'm doing (see above).
> Did you read the code ? ;-)

Does it work if you set a flag and resubmit the work only conditionally
on it?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-10-31 11:31    [W:0.046 / U:0.772 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site