| From: |
| Lai Jiangshan <laijs@cn.fujitsu.com> |
| To: |
| Tejun Heo <tj@kernel.org>, linux-kernel@vger.kernel.org |
| Subject: |
| [PATCH 00/11 V5] workqueue: reimplement unbind/rebind |
| Date: |
| Wed, 5 Sep 2012 18:37:37 +0800 |
| Message-ID: |
| <1346841475-4422-1-git-send-email-laijs@cn.fujitsu.com> |
| Cc: |
| Lai Jiangshan <laijs@cn.fujitsu.com> |
| Archive-link: |
| Article, Thread
|
Patch 2 a different way to fix deadlock problem. it removes 50 LOC !!
Patch 3-4 cleanup rebind
Patch 5-9 prepare for patch 10
Patch 10 unbind/rebind without manager_mutex, fix bug hotplug VS manage
The first core algorithm for 5-10 is detecting the changes of binding
by GCWQ_DISASSOCIATED bit and WORKER_UNBOUND bit.
The second core algorithm is exile-operation. Patch2,9
Patch 11 cleanup manager.
Patch 1 accepted, just resent.
Changed from V4:
Give up to make manage_mutex safer, remove it instead.
Lai Jiangshan (11):
workqueue: ensure the wq_worker_sleeping() see the right flags
async idle rebinding
new day don't need WORKER_REBIND for busy worker
remove WORKER_REBIND
Add @bind arguement back
unbind manager
rebind manager
unbind newly created worker
rebind newly created worker
unbind/rebind without manager_mutex
remove manager_mutex
kernel/workqueue.c | 270 ++++++++++++++++++++++++----------------------------
1 files changed, 124 insertions(+), 146 deletions(-)
--
1.7.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/