From: Tejun Heo <tj@kernel.org>
To: Lai Jiangshan <laijs@cn.fujitsu.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] workqueue: fix possible deadlock in idle worker rebinding
Date: Wed, 5 Sep 2012 16:11:16 -0700 [thread overview]
Message-ID: <20120905231116.GD29092@google.com> (raw)
In-Reply-To: <20120905061632.GB3195@dhcp-172-17-108-109.mtv.corp.google.com>
On Tue, Sep 04, 2012 at 11:16:32PM -0700, Tejun Heo wrote:
> Currently, rebind_workers() and idle_worker_rebind() are two-way
> interlocked. rebind_workers() waits for idle workers to finish
> rebinding and rebound idle workers wait for rebind_workers() to finish
> rebinding busy workers before proceeding.
Applied to wq/for-3.6-fixes.
Thanks.
--
tejun
next prev parent reply other threads:[~2012-09-05 23:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-05 6:12 [PATCH 1/2] workqueue: move WORKER_REBIND clearing in rebind_workers() to the end of the function Tejun Heo
2012-09-05 6:16 ` [PATCH 2/2] workqueue: fix possible deadlock in idle worker rebinding Tejun Heo
2012-09-05 23:11 ` Tejun Heo [this message]
2012-09-06 0:47 ` Lai Jiangshan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120905231116.GD29092@google.com \
--to=tj@kernel.org \
--cc=laijs@cn.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox