Messages in this thread | | | Date | Fri, 29 May 2020 10:23:47 -0400 | From | Tejun Heo <> | 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@linux.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
| |