[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1346090307-3020-1-git-send-email-laijs@cn.fujitsu.com>
Date: Tue, 28 Aug 2012 01:58:20 +0800
From: Lai Jiangshan <laijs@...fujitsu.com>
To: Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org
Cc: Lai Jiangshan <laijs@...fujitsu.com>
Subject: [PATCH 0/7] workqueue: cleanup rebind_workers().
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists