[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200529142347.GD3530656@mtj.duckdns.org>
Date: Fri, 29 May 2020 10:23:47 -0400
From: Tejun Heo <tj@...nel.org>
To: Lai Jiangshan <laijs@...ux.alibaba.com>
Cc: linux-kernel@...r.kernel.org,
Lai Jiangshan <jiangshanlai@...il.com>
Subject: Re: [PATCH 3/4] workqueue: free wq->unbound_attrs earlier
On Fri, May 29, 2020 at 06:59:01AM +0000, Lai Jiangshan wrote:
> wq->unbound_attrs is never accessed in rcu read site, so that
> it can be freed earlier and relieves memory pressure earlier,
> although slightly.
>
> Signed-off-by: Lai Jiangshan <laijs@...ux.alibaba.com>
I don't think this is gonna make a material difference in terms of memory
pressure and would much prefer keep freeing together so that we don't
complicate the lifetime rules.
Thanks.
--
tejun
Powered by blists - more mailing lists