Re: [PATCH] workqueue: Removed double allocation of wq_update_pod_attrs_buf

From: Tejun Heo
Date: Mon Sep 18 2023 - 14:36:13 EST


On Tue, Sep 05, 2023 at 05:49:35PM -0400, Steven Rostedt wrote:
> From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>
>
> First commit 2930155b2e272 ("workqueue: Initialize unbound CPU pods later in
> the boot") added the initialization of wq_update_pod_attrs_buf to
> workqueue_init_early(), and then latter on, commit 84193c07105c6
> ("workqueue: Generalize unbound CPU pods") added it as well. This appeared
> in a kmemleak run where the second allocation made the first allocation
> leak.
>
> Fixes: 84193c07105c6 ("workqueue: Generalize unbound CPU pods")
> Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

Applied to wq/for-6.6-fixes.

Thanks.

--
tejun