diff options
| author | Se Wang (Patrick) Oh <sewango@codeaurora.org> | 2015-08-19 14:44:21 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-12-05 18:05:29 +0100 |
| commit | 9e10bbcea8e5b5953640641dce2b7db0f1c3049b (patch) | |
| tree | 5f18ddeb87b210eda52eb2d02023d11e340adaa0 /include/linux/workqueue.h | |
| parent | 48e21688ff9068cd0148ee2ed78d0df38b0c3b7d (diff) | |
workqueue: Fix workqueue stall issue after cpu down failure
When the hotplug notifier call chain with CPU_DOWN_PREPARE
is broken before reaching workqueue_cpu_down_callback(),
rebind_workers() adds WORKER_REBOUND flag for running workers.
Hence, the nr_running of the pool is not increased when scheduler
wakes up the worker. The fix is skipping adding WORKER_REBOUND
flag when the worker doesn't have WORKER_UNBOUND flag in
CPU_DOWN_FAILED path.
Change-Id: I2528e9154f4913d9ec14b63adbcbcd1eaa8a8452
Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
