User: Password:
Subscribe / Log in / New account

workqueue: reimplement unbind/rebind

From:  Lai Jiangshan <>
To:  Tejun Heo <>,
Subject:  [PATCH 00/11 V5] workqueue: reimplement unbind/rebind
Date:  Wed, 5 Sep 2012 18:37:37 +0800
Message-ID:  <>
Cc:  Lai Jiangshan <>
Archive-link:  Article

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
	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
  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(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds