[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120829184057.GD2258@dhcp-172-17-108-109.mtv.corp.google.com>
Date: Wed, 29 Aug 2012 11:40:57 -0700
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <laijs@...fujitsu.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 8/9 V3] workqueue: single pass rebind_workers
Hello, Lai.
On Thu, Aug 30, 2012 at 12:51:59AM +0800, Lai Jiangshan wrote:
> busy_worker_rebind_fn() can't return until all idle workers are rebound,
> the code of busy_worker_rebind_fn() ensure this.
>
> So we can change the order of the code of rebind_workers(),
> and make it is a single pass to do the rebind_workers().
>
> It makes the code much clean and better readability.
But, yeah, I do like this approach better. Would it be possible to do
this without overloading manager_mutex?
Thanks.
--
tejun
--
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