Re: [PATCH 8/9] workqueue: Introduce struct wq_node_nr_active

From: Tejun Heo
Date: Tue Jan 23 2024 - 19:13:26 EST


On Fri, Jan 19, 2024 at 03:55:49PM +0800, Lai Jiangshan wrote:
> Hello, Tejun
>
> On Sat, Jan 13, 2024 at 8:29 AM Tejun Heo <tj@xxxxxxxxxx> wrote:
>
> > @@ -327,6 +337,7 @@ struct workqueue_struct {
> > /* hot fields used during command issue, aligned to cacheline */
> > unsigned int flags ____cacheline_aligned; /* WQ: WQ_* flags */
> > struct pool_workqueue __percpu __rcu **cpu_pwq; /* I: per-cpu pwqs */
> > + struct wq_node_nr_active **node_nr_active; /* I: per-node nr_active */
>
> flexible array can be used here.

Yeah, will do that.

Thanks.

--
tejun