aboutsummaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorSe Wang (Patrick) Oh <sewango@codeaurora.org>2015-08-19 14:44:21 -0700
committerMoyster <oysterized@gmail.com>2017-12-05 18:08:25 +0100
commit4de83e65ef410fbd0f10a02a9756b587783128cf (patch)
treec95811daa8675453f0e607ce744622f19f99cc9d /kernel/sysctl_binary.c
parent60949ae2405c35e9ceec6e7995f4b47be4ffedf1 (diff)
downloadandroid_kernel_m2note-4de83e65ef410fbd0f10a02a9756b587783128cf.tar.gz
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 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions