[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140619162958.GM26904@htj.dyndns.org>
Date: Thu, 19 Jun 2014 12:29:58 -0400
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <laijs@...fujitsu.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] workqueue: clear leftover flags when detached
On Tue, Jun 03, 2014 at 03:32:52PM +0800, Lai Jiangshan wrote:
> When a worker is detached, the worker->flags may still have WORKER_UNBOUND
> or WORKER_REBOUND, it is OK for all cases:
> 1) if it is a normal worker, the worker will be dead, it is OK.
> 2) if it is a rescuer, it may re-attach to a pool with this leftover flag[s],
> it is still correct except it may cause unneeded wakeup.
>
> It is correct but not good, so we just remove the leftover flags.
>
> Signed-off-by: Lai Jiangshan <laijs@...fujitsu.com>
Applied to wq/for-3.17.
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