Re: åå: [PATCH v5] workqueue: Remove unnecessary kfree() call in rcu_free_wq()

From: Tejun Heo
Date: Thu May 28 2020 - 06:38:14 EST


On Thu, May 28, 2020 at 12:57:03PM +0300, Dan Carpenter wrote:
> Guys, the patch is wrong. The kfree is harmless when this is called
> from destroy_workqueue() and required when it's called from
> pwq_unbound_release_workfn(). Lai Jiangshan already explained this
> already. Why are we still discussing this?

Oops, missed that. Reverting.

Thanks.

--
tejun