Messages in this thread | | | From | Lai Jiangshan <> | Subject | [PATCH 0/9 V3] workqueue: fix and cleanup hotplug/rebind_workers() | Date | Thu, 30 Aug 2012 00:51:51 +0800 |
| |
Patch 1~4 fix possible bugs.
Patch 1 fix possible double-write bug Patch 2,5,7 makes the waiting logic more clear Patch 3,4 fix bugs from manage VS hotplug Patch 7,8,9 explicit logic to wait in busy-work-rebind and make rebind_workers() single pass.
Lai Jiangshan (9): workqueue: ensure the wq_worker_sleeping() see the right flags workqueue: fix deadlock in rebind_workers() workqueue: add POOL_MANAGING_WORKERS workqueue: add non_manager_role_manager_mutex_unlock() workqueue: move rebind_hold to idle_rebind workqueue: simple clear WORKER_REBIND workqueue: explicit way to wait for idles workers to finish workqueue: single pass rebind_workers workqueue: merge the role of rebind_hold to idle_done
kernel/workqueue.c | 151 +++++++++++++++++++++++++++++++++------------------- 1 files changed, 96 insertions(+), 55 deletions(-)
-- 1.7.4.4
| |