Re: 29-rc-mmotm - HID/USB wedge w/ WARNING: at kernel/workqueue.c:371

From: Lai Jiangshan
Date: Tue Mar 17 2009 - 22:31:21 EST


Valdis.Kletnieks@xxxxxx wrote:
> On Tue, 17 Mar 2009 13:54:24 PDT, Andrew Morton said:
>
>> It's an error in workqueue-avoid-recursion-in-run_workqueue.patch, methinks.
>
> Thanks for the diagnosis - I got as far as realizing that any backtrace that
> included flush_cpu_workqueue() and worker_thread() had a problem and got
> stuck there.
>

It's dangerous when we allow recursion in run_workqueue().

If it's hard for you avoid flush_scheduled_work() in
keventd's work fuction by other fix, you can create
another workqueue to handle your works, IMO.

Thanks
Lai jiangshan

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/