Messages in this thread | | | From | Lai Jiangshan <> | Subject | [PATCH 0/7] workqueue: cleanup rebind_workers(). | Date | Tue, 28 Aug 2012 01:58:20 +0800 |
| |
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
| |