[PATCH wq/for-4.0-fixes v2] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

From: Tejun Heo
Date: Tue Mar 03 2015 - 08:45:56 EST


Hello,

Found the culprit. Plain wake_up() shouldn't be used on
bit_waitqueues. The following patch should fix the issue. I replaced
the patch in the wq branches.

Thanks a lot.

----- 8< -----