These small patches change the rebind_workers() a little. Patch1,5 fix possible bug.
Patch1,2 idle_worker_rebind() uses manage_mutex to wait rebind_workers() to finish and ease WORKER_REBIND Patch3,4 makes rebind_workers() single pass and makes code clean. Patch5 use single write instruction to void other CPU see wrong flags. Patch6,7 small fix. Lai Jiangshan (7): wait on manager_mutex instead of rebind_hold simple clear WORKER_REBIND explit way to wait for idles workers to finish single pass rebind ensure the wq_worker_sleeping() see the right flags init 0 static idle_rebind kernel/workqueue.c | 81 ++++++++++++++++++++------------------------------- 1 files changed, 32 insertions(+), 49 deletions(-) -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/