Re: [RFC 3/4] workqueue: reap dead pool workqueue on queuing work

From: Daniel Jordan
Date: Wed Dec 11 2019 - 18:25:58 EST


On Wed, Dec 11, 2019 at 07:22:29PM +0800, Hillf Danton wrote:
> Release rcu lock to reap dead pool workqueue.

What's to be gained by reaping the pwq (and possibly worker pool and wq) before
__queue_work() retries? It'll just happen after the queueing finishes.