[PATCH v2 0/3] sched: Avoid that __wait_on_bit_lock() hangs

From: Bart Van Assche
Date: Sat Aug 06 2016 - 16:18:05 EST


Hello Ingo,

This patch series addresses an issue that my SRP driver test software can trigger reproducibly, namely that __wait_on_bit_lock() hangs. Please review and apply these patches whenever this is convenient for you. The changes compared to the first version of this series are:
* Reworked the abort_exclusive_wait() changes.
* Added two patches, namely a patch that introduces a local variable and
a patch (nr. 3) that eliminates again the spurious wakeups introduced
by patch 1.

These patches have been tested on top of kernel v4.7 with kernel debugging enabled (detection of list corruption, lockdep, SLUB debugging, kmemleak, ...).

See also https://lkml.org/lkml/2016/8/3/289.

Thanks,

Bart.