public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] workqueue: offload the worker-management out from kworker
@ 2014-07-26  3:04 Lai Jiangshan
  2014-07-26  3:04 ` [PATCH 1/3] workqueue: migrate the new worker before add it to idle_list Lai Jiangshan
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Lai Jiangshan @ 2014-07-26  3:04 UTC (permalink / raw)
  To: linux-kernel; +Cc: Tejun Heo, Lai Jiangshan

Current kworker prefer creating worker (if required) to processing work items,
we hope the processing should be the first priority.

The jobs in managers are serialized, it is just wasting if we have multiple
managers, only one worker-creater is enough.

It causes much complication and tricky when manager is implemented inside
worker, using dedicated creater will make things more flexible.

So we offload the worker-management out from kworker into a single
dedicated creater kthread.  It is done in patch2. And the patch1 is
preparation and patch3 is cleanup patch.

Lai Jiangshan (3):
  workqueue: migrate the new worker before add it to idle_list
  workqueue: use dedicated creater kthread for all pools
  workqueue: cleanup may_start_working()

 kernel/workqueue.c |  228 ++++++++++++++++++++++------------------------------
 1 files changed, 96 insertions(+), 132 deletions(-)

-- 
1.7.4.4


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-07-30  3:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-26  3:04 [PATCH 0/3] workqueue: offload the worker-management out from kworker Lai Jiangshan
2014-07-26  3:04 ` [PATCH 1/3] workqueue: migrate the new worker before add it to idle_list Lai Jiangshan
2014-07-26  3:04 ` [PATCH 2/3] workqueue: use dedicated creater kthread for all pools Lai Jiangshan
2014-07-28 18:55   ` Tejun Heo
2014-07-29  1:26     ` Lai Jiangshan
2014-07-29  2:16       ` Tejun Heo
2014-07-29  9:16         ` [PATCH RFC 2/2 V2] " Lai Jiangshan
2014-07-29 15:04           ` Tejun Heo
2014-07-30  0:32             ` Lai Jiangshan
2014-07-30  3:23               ` Tejun Heo
2014-07-30  3:46                 ` Lai Jiangshan
2014-07-30  3:46                   ` Tejun Heo
2014-07-26  3:04 ` [PATCH 3/3] workqueue: cleanup may_start_working() Lai Jiangshan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox