Messages in this thread | | | From | Oliver Neukum <> | Subject | Re: GPF in run_workqueue()/list_del_init(cwq->worklist.next) on resume (was: Re: Help needed: Resume problems in 2.6.32-rc, perhaps related to preempt_count leakage in keventd) | Date | Wed, 11 Nov 2009 22:15:08 +0100 |
| |
Am Mittwoch, 11. November 2009 21:24:33 schrieb Oleg Nesterov: > > So, it looks like the bug is in btusb_destruct(), which should call > > cancel_work_sync() on data->waker before freeing 'data'. I guess it > > should do the same for data->work. > > Or. btusb_suspend() and btusb_close() do cancel_work_sync(data->work), > perhaps they should cancel data->waker as well, I dunno. > > I added Oliver to cc.
btusb_close() must do it. btusb_suspend() must not do it.
Regards Oliver
| |